import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../../types/input"; import * as outputs from "../../types/output"; import * as enums from "../../types/enums"; /** * Creates the specified index. A newly created index's initial state is `CREATING`. On completion of the returned google.longrunning.Operation, the state will be `READY`. If the index already exists, the call will return an `ALREADY_EXISTS` status. During index creation, the process could result in an error, in which case the index will move to the `ERROR` state. The process can be recovered by fixing the data that caused the error, removing the index with delete, then re-creating the index with create. Indexes with a single property cannot be created. * Auto-naming is currently not supported for this resource. */ export declare class Index extends pulumi.CustomResource { /** * Get an existing Index 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): Index; /** * Returns true if the given object is an instance of Index. 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 Index; /** * The index's ancestor mode. Must not be ANCESTOR_MODE_UNSPECIFIED. */ readonly ancestor: pulumi.Output; /** * The resource ID of the index. */ readonly indexId: pulumi.Output; /** * The entity kind to which this index applies. */ readonly kind: pulumi.Output; readonly project: pulumi.Output; /** * An ordered sequence of property names and their index attributes. Requires: * A maximum of 100 properties. */ readonly properties: pulumi.Output; /** * The state of the index. */ readonly state: pulumi.Output; /** * Create a Index 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: IndexArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Index resource. */ export interface IndexArgs { /** * The index's ancestor mode. Must not be ANCESTOR_MODE_UNSPECIFIED. */ ancestor: pulumi.Input; /** * The entity kind to which this index applies. */ kind: pulumi.Input; project?: pulumi.Input; /** * An ordered sequence of property names and their index attributes. Requires: * A maximum of 100 properties. */ properties: pulumi.Input[]>; }