UNPKG

@pinecone-database/pulumi

Version:

<img src="img/pinecone.svg" width="50%">

51 lines (50 loc) 1.54 kB
import * as pulumi from "@pulumi/pulumi"; /** * The result of a get operation on a Pinecone collection. */ export declare function lookupPineconeCollection(args: LookupPineconeCollectionArgs, opts?: pulumi.InvokeOptions): Promise<LookupPineconeCollectionResult>; export interface LookupPineconeCollectionArgs { /** * The name of the Pinecone collection. */ name: string; } /** * The result of a get operation on a Pinecone collection. */ export interface LookupPineconeCollectionResult { /** * The dimension of the vectors stored in each record held in the collection. */ readonly dimension: number; /** * The environment where the collection is hosted. */ readonly environment: string; /** * The name of the collection to be created. */ readonly name: string; /** * The size of the collection in bytes. */ readonly size: number; /** * The name of the index to be used as the source for the collection. */ readonly source: string; /** * The number of records stored in the collection. */ readonly vectorCount: number; } /** * The result of a get operation on a Pinecone collection. */ export declare function lookupPineconeCollectionOutput(args: LookupPineconeCollectionOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<LookupPineconeCollectionResult>; export interface LookupPineconeCollectionOutputArgs { /** * The name of the Pinecone collection. */ name: pulumi.Input<string>; }