import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; /** * Creates a new MetadataImport in a given project and location. * Note - this resource's API doesn't support deletion. When deleted, the resource will persist * on Google Cloud even though it will be deleted from Pulumi state. */ export declare class MetadataImport extends pulumi.CustomResource { /** * Get an existing MetadataImport 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): MetadataImport; /** * Returns true if the given object is an instance of MetadataImport. 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 MetadataImport; /** * The time when the metadata import was started. */ readonly createTime: pulumi.Output; /** * Immutable. A database dump from a pre-existing metastore's database. */ readonly databaseDump: pulumi.Output; /** * The description of the metadata import. */ readonly description: pulumi.Output; /** * The time when the metadata import finished. */ readonly endTime: pulumi.Output; readonly location: pulumi.Output; /** * Required. The ID of the metadata import, which is used as the final component of the metadata import's name.This value must be between 1 and 64 characters long, begin with a letter, end with a letter or number, and consist of alpha-numeric ASCII characters or hyphens. */ readonly metadataImportId: pulumi.Output; /** * Immutable. The relative resource name of the metadata import, of the form:projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{metadata_import_id}. */ readonly name: pulumi.Output; readonly project: pulumi.Output; /** * Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported. */ readonly requestId: pulumi.Output; readonly serviceId: pulumi.Output; /** * The current state of the metadata import. */ readonly state: pulumi.Output; /** * The time when the metadata import was last updated. */ readonly updateTime: pulumi.Output; /** * Create a MetadataImport 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: MetadataImportArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a MetadataImport resource. */ export interface MetadataImportArgs { /** * Immutable. A database dump from a pre-existing metastore's database. */ databaseDump?: pulumi.Input; /** * The description of the metadata import. */ description?: pulumi.Input; location?: pulumi.Input; /** * Required. The ID of the metadata import, which is used as the final component of the metadata import's name.This value must be between 1 and 64 characters long, begin with a letter, end with a letter or number, and consist of alpha-numeric ASCII characters or hyphens. */ metadataImportId: pulumi.Input; /** * Immutable. The relative resource name of the metadata import, of the form:projects/{project_number}/locations/{location_id}/services/{service_id}/metadataImports/{metadata_import_id}. */ name?: pulumi.Input; project?: pulumi.Input; /** * Optional. A request ID. Specify a unique request ID to allow the server to ignore the request if it has completed. The server will ignore subsequent requests that provide a duplicate request ID for at least 60 minutes after the first request.For example, if an initial request times out, followed by another request with the same request ID, the server ignores the second request to prevent the creation of duplicate commitments.The request ID must be a valid UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier#Format) A zero UUID (00000000-0000-0000-0000-000000000000) is not supported. */ requestId?: pulumi.Input; serviceId: pulumi.Input; }