UNPKG

@pinecone-database/pulumi

Version:

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

44 lines (43 loc) 1.31 kB
import * as pulumi from "@pulumi/pulumi"; import * as outputs from "./types/output"; import * as enums from "./types/enums"; export declare function lookupPineconeIndex(args: LookupPineconeIndexArgs, opts?: pulumi.InvokeOptions): Promise<LookupPineconeIndexResult>; export interface LookupPineconeIndexArgs { /** * The name of the Pinecone index. */ name: string; } export interface LookupPineconeIndexResult { /** * The dimensions of the vectors in the index. Defaults to 1536. */ readonly dimension?: number; /** * The host of the index. */ readonly host: string; /** * The metric used to compute the distance between vectors. */ readonly metric: enums.IndexMetric; /** * The name of the Pinecone index. */ readonly name: string; /** * Describe how the index should be deployed. */ readonly spec: outputs.PineconeSpec; /** * The status of the index. */ readonly status: boolean; } export declare function lookupPineconeIndexOutput(args: LookupPineconeIndexOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<LookupPineconeIndexResult>; export interface LookupPineconeIndexOutputArgs { /** * The name of the Pinecone index. */ name: pulumi.Input<string>; }