import * as pulumi from "@pulumi/pulumi"; /** * Creates a metastore federation in a project and location. */ export declare class Federation extends pulumi.CustomResource { /** * Get an existing Federation 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): Federation; /** * Returns true if the given object is an instance of Federation. 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 Federation; /** * A map from BackendMetastore rank to BackendMetastores from which the federation service serves metadata at query time. The map key represents the order in which BackendMetastores should be evaluated to resolve database names at query time and should be greater than or equal to zero. A BackendMetastore with a lower number will be evaluated before a BackendMetastore with a higher number. */ readonly backendMetastores: pulumi.Output<{ [key: string]: string; }>; /** * The time when the metastore federation was created. */ readonly createTime: pulumi.Output; /** * The federation endpoint. */ readonly endpointUri: pulumi.Output; /** * Required. The ID of the metastore federation, which is used as the final component of the metastore federation's name.This value must be between 2 and 63 characters long inclusive, begin with a letter, end with a letter or number, and consist of alpha-numeric ASCII characters or hyphens. */ readonly federationId: pulumi.Output; /** * User-defined labels for the metastore federation. */ readonly labels: pulumi.Output<{ [key: string]: string; }>; readonly location: pulumi.Output; /** * Immutable. The relative resource name of the federation, of the form: projects/{project_number}/locations/{location_id}/federations/{federation_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; /** * The current state of the federation. */ readonly state: pulumi.Output; /** * Additional information about the current state of the metastore federation, if available. */ readonly stateMessage: pulumi.Output; /** * The globally unique resource identifier of the metastore federation. */ readonly uid: pulumi.Output; /** * The time when the metastore federation was last updated. */ readonly updateTime: pulumi.Output; /** * Immutable. The Apache Hive metastore version of the federation. All backend metastore versions must be compatible with the federation version. */ readonly version: pulumi.Output; /** * Create a Federation 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: FederationArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Federation resource. */ export interface FederationArgs { /** * A map from BackendMetastore rank to BackendMetastores from which the federation service serves metadata at query time. The map key represents the order in which BackendMetastores should be evaluated to resolve database names at query time and should be greater than or equal to zero. A BackendMetastore with a lower number will be evaluated before a BackendMetastore with a higher number. */ backendMetastores?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * Required. The ID of the metastore federation, which is used as the final component of the metastore federation's name.This value must be between 2 and 63 characters long inclusive, begin with a letter, end with a letter or number, and consist of alpha-numeric ASCII characters or hyphens. */ federationId: pulumi.Input; /** * User-defined labels for the metastore federation. */ labels?: pulumi.Input<{ [key: string]: pulumi.Input; }>; location?: pulumi.Input; /** * Immutable. The relative resource name of the federation, of the form: projects/{project_number}/locations/{location_id}/federations/{federation_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; /** * Immutable. The Apache Hive metastore version of the federation. All backend metastore versions must be compatible with the federation version. */ version?: pulumi.Input; }