import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * The `pinecone.Collection` resource lets you create and manage collections in Pinecone. Learn more about collections in the docs. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as pinecone from "@pulumi/pinecone"; * * const test = new pinecone.Index("test", { * name: "tftestindex", * dimension: 10, * spec: { * pod: { * environment: "us-west4-gcp", * podType: "s1.x1", * }, * }, * }); * const testCollection = new pinecone.Collection("test", { * name: "tftestcollection", * source: test.name, * }); * ``` */ export declare class Collection extends pulumi.CustomResource { /** * Get an existing Collection 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 state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: CollectionState, opts?: pulumi.CustomResourceOptions): Collection; /** * Returns true if the given object is an instance of Collection. 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 Collection; /** * The dimension of the vectors stored in each record held in the collection. */ readonly dimension: pulumi.Output; /** * The environment where the collection is hosted. */ readonly environment: pulumi.Output; /** * The name of the collection. */ readonly name: pulumi.Output; /** * The size of the collection in bytes. */ readonly size: pulumi.Output; /** * The name of the source index to be used as the source for the collection. */ readonly source: pulumi.Output; /** * The status of the collection. */ readonly status: pulumi.Output; readonly timeouts: pulumi.Output; /** * The number of records stored in the collection. */ readonly vectorCount: pulumi.Output; /** * Create a Collection 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: CollectionArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Collection resources. */ export interface CollectionState { /** * The dimension of the vectors stored in each record held in the collection. */ dimension?: pulumi.Input; /** * The environment where the collection is hosted. */ environment?: pulumi.Input; /** * The name of the collection. */ name?: pulumi.Input; /** * The size of the collection in bytes. */ size?: pulumi.Input; /** * The name of the source index to be used as the source for the collection. */ source?: pulumi.Input; /** * The status of the collection. */ status?: pulumi.Input; timeouts?: pulumi.Input; /** * The number of records stored in the collection. */ vectorCount?: pulumi.Input; } /** * The set of arguments for constructing a Collection resource. */ export interface CollectionArgs { /** * The dimension of the vectors stored in each record held in the collection. */ dimension?: pulumi.Input; /** * The name of the collection. */ name?: pulumi.Input; /** * The size of the collection in bytes. */ size?: pulumi.Input; /** * The name of the source index to be used as the source for the collection. */ source: pulumi.Input; timeouts?: pulumi.Input; /** * The number of records stored in the collection. */ vectorCount?: pulumi.Input; }