import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Creates an asset resource. * Auto-naming is currently not supported for this resource. */ export declare class Asset extends pulumi.CustomResource { /** * Get an existing Asset 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 opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, opts?: pulumi.CustomResourceOptions): Asset; /** * Returns true if the given object is an instance of Asset. 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 Asset; /** * Required. Asset identifier. This ID will be used to generate names such as table 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 zone. */ readonly assetId: pulumi.Output; /** * The time when the asset was created. */ readonly createTime: pulumi.Output; /** * Optional. Description of the asset. */ readonly description: pulumi.Output; /** * Optional. Specification of the discovery feature applied to data referenced by this asset. When this spec is left unset, the asset will use the spec set on the parent zone. */ readonly discoverySpec: pulumi.Output; /** * Status of the discovery feature applied to data referenced by this asset. */ readonly discoveryStatus: pulumi.Output; /** * Optional. User friendly display name. */ readonly displayName: pulumi.Output; /** * Optional. User defined labels for the asset. */ readonly labels: pulumi.Output<{ [key: string]: string; }>; readonly lakeId: pulumi.Output; readonly location: pulumi.Output; /** * The relative resource name of the asset, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}. */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * Specification of the resource that is referenced by this asset. */ readonly resourceSpec: pulumi.Output; /** * Status of the resource referenced by this asset. */ readonly resourceStatus: pulumi.Output; /** * Status of the security policy applied to resource referenced by this asset. */ readonly securityStatus: pulumi.Output; /** * Current state of the asset. */ readonly state: pulumi.Output; /** * System generated globally unique ID for the asset. This ID will be different if the asset is deleted and re-created with the same name. */ readonly uid: pulumi.Output; /** * The time when the asset was last updated. */ readonly updateTime: pulumi.Output; readonly zone: pulumi.Output; /** * Create a Asset 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: AssetArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Asset resource. */ export interface AssetArgs { /** * Required. Asset identifier. This ID will be used to generate names such as table 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 zone. */ assetId: pulumi.Input; /** * Optional. Description of the asset. */ description?: pulumi.Input; /** * Optional. Specification of the discovery feature applied to data referenced by this asset. When this spec is left unset, the asset will use the spec set on the parent zone. */ discoverySpec?: pulumi.Input; /** * Optional. User friendly display name. */ displayName?: pulumi.Input; /** * Optional. User defined labels for the asset. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; lakeId: pulumi.Input; location?: pulumi.Input; project?: pulumi.Input; /** * Specification of the resource that is referenced by this asset. */ resourceSpec: pulumi.Input; zone?: pulumi.Input; }