import * as pulumi from "@pulumi/pulumi"; import * as outputs from "../../types/output"; /** * Gets an index. */ export declare function getIndex(args: GetIndexArgs, opts?: pulumi.InvokeOptions): Promise; export interface GetIndexArgs { indexId: string; project?: string; } export interface GetIndexResult { /** * The index's ancestor mode. Must not be ANCESTOR_MODE_UNSPECIFIED. */ readonly ancestor: string; /** * The resource ID of the index. */ readonly indexId: string; /** * The entity kind to which this index applies. */ readonly kind: string; /** * Project ID. */ readonly project: string; /** * An ordered sequence of property names and their index attributes. Requires: * A maximum of 100 properties. */ readonly properties: outputs.datastore.v1.GoogleDatastoreAdminV1IndexedPropertyResponse[]; /** * The state of the index. */ readonly state: string; } /** * Gets an index. */ export declare function getIndexOutput(args: GetIndexOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; export interface GetIndexOutputArgs { indexId: pulumi.Input; project?: pulumi.Input; }