Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.dataplex/v1.Lake
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
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)
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={
"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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Lake resource accepts the following input properties:
- Lake
Id 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.
- Display
Name string - Optional. User friendly display name.
- Labels Dictionary<string, string>
- Optional. User-defined labels for the lake.
- Location string
- Metastore
Pulumi.
Google Native. Dataplex. V1. Inputs. Google Cloud Dataplex V1Lake Metastore - Optional. Settings to manage lake and Dataproc Metastore service instance association.
- Project string
- Lake
Id 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.
- Display
Name string - Optional. User friendly display name.
- Labels map[string]string
- Optional. User-defined labels for the lake.
- Location string
- Metastore
Google
Cloud Dataplex V1Lake Metastore Args - Optional. Settings to manage lake and Dataproc Metastore service instance association.
- Project string
- lake
Id 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.
- display
Name String - Optional. User friendly display name.
- labels Map<String,String>
- Optional. User-defined labels for the lake.
- location String
- metastore
Google
Cloud Dataplex V1Lake Metastore - Optional. Settings to manage lake and Dataproc Metastore service instance association.
- project String
- lake
Id 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.
- display
Name string - Optional. User friendly display name.
- labels {[key: string]: string}
- Optional. User-defined labels for the lake.
- location string
- metastore
Google
Cloud Dataplex V1Lake Metastore - 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
Google
Cloud Dataplex V1Lake Metastore Args - Optional. Settings to manage lake and Dataproc Metastore service instance association.
- project str
- lake
Id 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.
- display
Name 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:
- Asset
Status Pulumi.Google Native. Dataplex. V1. Outputs. Google Cloud Dataplex V1Asset Status Response - Aggregated status of the underlying assets of the lake.
- Create
Time string - The time when the lake was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Metastore
Status Pulumi.Google Native. Dataplex. V1. Outputs. Google Cloud Dataplex V1Lake Metastore Status Response - 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}.
- Service
Account 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.
- Update
Time string - The time when the lake was last updated.
- Asset
Status GoogleCloud Dataplex V1Asset Status Response - Aggregated status of the underlying assets of the lake.
- Create
Time string - The time when the lake was created.
- Id string
- The provider-assigned unique ID for this managed resource.
- Metastore
Status GoogleCloud Dataplex V1Lake Metastore Status Response - 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}.
- Service
Account 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.
- Update
Time string - The time when the lake was last updated.
- asset
Status GoogleCloud Dataplex V1Asset Status Response - Aggregated status of the underlying assets of the lake.
- create
Time String - The time when the lake was created.
- id String
- The provider-assigned unique ID for this managed resource.
- metastore
Status GoogleCloud Dataplex V1Lake Metastore Status Response - 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}.
- service
Account 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.
- update
Time String - The time when the lake was last updated.
- asset
Status GoogleCloud Dataplex V1Asset Status Response - Aggregated status of the underlying assets of the lake.
- create
Time string - The time when the lake was created.
- id string
- The provider-assigned unique ID for this managed resource.
- metastore
Status GoogleCloud Dataplex V1Lake Metastore Status Response - 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}.
- service
Account 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.
- update
Time string - The time when the lake was last updated.
- asset_
status GoogleCloud Dataplex V1Asset Status Response - 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 GoogleCloud Dataplex V1Lake Metastore Status Response - 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.
- asset
Status Property Map - Aggregated status of the underlying assets of the lake.
- create
Time String - The time when the lake was created.
- id String
- The provider-assigned unique ID for this managed resource.
- metastore
Status 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}.
- service
Account 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.
- update
Time String - The time when the lake was last updated.
Supporting Types
GoogleCloudDataplexV1AssetStatusResponse, GoogleCloudDataplexV1AssetStatusResponseArgs
- Active
Assets int - Number of active assets.
- Security
Policy intApplying Assets - Number of assets that are in process of updating the security policy on attached resources.
- Update
Time string - Last update time of the status.
- Active
Assets int - Number of active assets.
- Security
Policy intApplying Assets - Number of assets that are in process of updating the security policy on attached resources.
- Update
Time string - Last update time of the status.
- active
Assets Integer - Number of active assets.
- security
Policy IntegerApplying Assets - Number of assets that are in process of updating the security policy on attached resources.
- update
Time String - Last update time of the status.
- active
Assets number - Number of active assets.
- security
Policy numberApplying Assets - Number of assets that are in process of updating the security policy on attached resources.
- update
Time string - Last update time of the status.
- active_
assets int - Number of active assets.
- security_
policy_ intapplying_ assets - Number of assets that are in process of updating the security policy on attached resources.
- update_
time str - Last update time of the status.
- active
Assets Number - Number of active assets.
- security
Policy NumberApplying Assets - Number of assets that are in process of updating the security policy on attached resources.
- update
Time 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.
- Update
Time 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.
- Update
Time 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.
- update
Time 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.
- update
Time 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.
- update
Time 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 Cloud Native is in preview. Google Cloud Classic is fully supported.