Pinecone v0.4.3 published on Thursday, May 9, 2024 by pinecone-io
pinecone.lookupPineconeIndex
Explore with Pulumi AI
Using lookupPineconeIndex
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function lookupPineconeIndex(args: LookupPineconeIndexArgs, opts?: InvokeOptions): Promise<LookupPineconeIndexResult>
function lookupPineconeIndexOutput(args: LookupPineconeIndexOutputArgs, opts?: InvokeOptions): Output<LookupPineconeIndexResult>def lookup_pinecone_index(name: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> LookupPineconeIndexResult
def lookup_pinecone_index_output(name: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[LookupPineconeIndexResult]func LookupPineconeIndex(ctx *Context, args *LookupPineconeIndexArgs, opts ...InvokeOption) (*LookupPineconeIndexResult, error)
func LookupPineconeIndexOutput(ctx *Context, args *LookupPineconeIndexOutputArgs, opts ...InvokeOption) LookupPineconeIndexResultOutput> Note: This function is named LookupPineconeIndex in the Go SDK.
public static class LookupPineconeIndex 
{
    public static Task<LookupPineconeIndexResult> InvokeAsync(LookupPineconeIndexArgs args, InvokeOptions? opts = null)
    public static Output<LookupPineconeIndexResult> Invoke(LookupPineconeIndexInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<LookupPineconeIndexResult> lookupPineconeIndex(LookupPineconeIndexArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: pinecone:lookupPineconeIndex
  arguments:
    # arguments dictionaryThe following arguments are supported:
- Name string
 - The name of the Pinecone index.
 
- Name string
 - The name of the Pinecone index.
 
- name String
 - The name of the Pinecone index.
 
- name string
 - The name of the Pinecone index.
 
- name str
 - The name of the Pinecone index.
 
- name String
 - The name of the Pinecone index.
 
lookupPineconeIndex Result
The following output properties are available:
- Host string
 - The host of the index.
 - Metric
Pinecone
Database. Pinecone. Index Metric  - The metric used to compute the distance between vectors.
 - Name string
 - The name of the Pinecone index.
 - Spec
Pinecone
Database. Pinecone. Outputs. Pinecone Spec  - Describe how the index should be deployed.
 - Status bool
 - The status of the index.
 - Dimension int
 - The dimensions of the vectors in the index. Defaults to 1536.
 
- Host string
 - The host of the index.
 - Metric
Index
Metric  - The metric used to compute the distance between vectors.
 - Name string
 - The name of the Pinecone index.
 - Spec
Pinecone
Spec  - Describe how the index should be deployed.
 - Status bool
 - The status of the index.
 - Dimension int
 - The dimensions of the vectors in the index. Defaults to 1536.
 
- host String
 - The host of the index.
 - metric
Index
Metric  - The metric used to compute the distance between vectors.
 - name String
 - The name of the Pinecone index.
 - spec
Pinecone
Spec  - Describe how the index should be deployed.
 - status Boolean
 - The status of the index.
 - dimension Integer
 - The dimensions of the vectors in the index. Defaults to 1536.
 
- host string
 - The host of the index.
 - metric
Index
Metric  - The metric used to compute the distance between vectors.
 - name string
 - The name of the Pinecone index.
 - spec
Pinecone
Spec  - Describe how the index should be deployed.
 - status boolean
 - The status of the index.
 - dimension number
 - The dimensions of the vectors in the index. Defaults to 1536.
 
- host str
 - The host of the index.
 - metric
Index
Metric  - The metric used to compute the distance between vectors.
 - name str
 - The name of the Pinecone index.
 - spec
Pinecone
Spec  - Describe how the index should be deployed.
 - status bool
 - The status of the index.
 - dimension int
 - The dimensions of the vectors in the index. Defaults to 1536.
 
- host String
 - The host of the index.
 - metric "dotproduct" | "cosine" | "euclidean"
 - The metric used to compute the distance between vectors.
 - name String
 - The name of the Pinecone index.
 - spec Property Map
 - Describe how the index should be deployed.
 - status Boolean
 - The status of the index.
 - dimension Number
 - The dimensions of the vectors in the index. Defaults to 1536.
 
Supporting Types
IndexMetric 
MetaDataConfig  
- Indexed List<string>
 - Indexed By default, all metadata is indexed; to change this behavior, use this property to specify an array of metadata fields which should be indexed.
 
- Indexed []string
 - Indexed By default, all metadata is indexed; to change this behavior, use this property to specify an array of metadata fields which should be indexed.
 
- indexed List<String>
 - Indexed By default, all metadata is indexed; to change this behavior, use this property to specify an array of metadata fields which should be indexed.
 
- indexed string[]
 - Indexed By default, all metadata is indexed; to change this behavior, use this property to specify an array of metadata fields which should be indexed.
 
- indexed Sequence[str]
 - Indexed By default, all metadata is indexed; to change this behavior, use this property to specify an array of metadata fields which should be indexed.
 
- indexed List<String>
 - Indexed By default, all metadata is indexed; to change this behavior, use this property to specify an array of metadata fields which should be indexed.
 
PineconePodSpec  
- Environment string
 - The environment where the index is hosted.
 - Pod
Type string - The type of pod to use. One of 
s1,p1, orp2appended with.and one ofx1,x2,x4, orx8. - Replicas int
 - The number of replicas. Replicas duplicate your index. They provide higher availability and throughput. Replicas can be scaled up or down as your needs change.
 - Meta
Data PineconeConfig Database. Pinecone. Inputs. Meta Data Config  - Configuration for the behavior of Pinecone's internal metadata index.
 - Pods int
 - The number of pods to be used in the index. This should be equal to 
shardsxreplicas. - int
 - The number of shards. Shards split your data across multiple pods so you can fit more data into an index.
 - Source
Collection string - The name of the collection to be used as the source for the index.
 
- Environment string
 - The environment where the index is hosted.
 - Pod
Type string - The type of pod to use. One of 
s1,p1, orp2appended with.and one ofx1,x2,x4, orx8. - Replicas int
 - The number of replicas. Replicas duplicate your index. They provide higher availability and throughput. Replicas can be scaled up or down as your needs change.
 - Meta
Data MetaConfig Data Config  - Configuration for the behavior of Pinecone's internal metadata index.
 - Pods int
 - The number of pods to be used in the index. This should be equal to 
shardsxreplicas. - int
 - The number of shards. Shards split your data across multiple pods so you can fit more data into an index.
 - Source
Collection string - The name of the collection to be used as the source for the index.
 
- environment String
 - The environment where the index is hosted.
 - pod
Type String - The type of pod to use. One of 
s1,p1, orp2appended with.and one ofx1,x2,x4, orx8. - replicas Integer
 - The number of replicas. Replicas duplicate your index. They provide higher availability and throughput. Replicas can be scaled up or down as your needs change.
 - meta
Data MetaConfig Data Config  - Configuration for the behavior of Pinecone's internal metadata index.
 - pods Integer
 - The number of pods to be used in the index. This should be equal to 
shardsxreplicas. - Integer
 - The number of shards. Shards split your data across multiple pods so you can fit more data into an index.
 - source
Collection String - The name of the collection to be used as the source for the index.
 
- environment string
 - The environment where the index is hosted.
 - pod
Type string - The type of pod to use. One of 
s1,p1, orp2appended with.and one ofx1,x2,x4, orx8. - replicas number
 - The number of replicas. Replicas duplicate your index. They provide higher availability and throughput. Replicas can be scaled up or down as your needs change.
 - meta
Data MetaConfig Data Config  - Configuration for the behavior of Pinecone's internal metadata index.
 - pods number
 - The number of pods to be used in the index. This should be equal to 
shardsxreplicas. - number
 - The number of shards. Shards split your data across multiple pods so you can fit more data into an index.
 - source
Collection string - The name of the collection to be used as the source for the index.
 
- environment str
 - The environment where the index is hosted.
 - pod_
type str - The type of pod to use. One of 
s1,p1, orp2appended with.and one ofx1,x2,x4, orx8. - replicas int
 - The number of replicas. Replicas duplicate your index. They provide higher availability and throughput. Replicas can be scaled up or down as your needs change.
 - meta_
data_ Metaconfig Data Config  - Configuration for the behavior of Pinecone's internal metadata index.
 - pods int
 - The number of pods to be used in the index. This should be equal to 
shardsxreplicas. - int
 - The number of shards. Shards split your data across multiple pods so you can fit more data into an index.
 - source_
collection str - The name of the collection to be used as the source for the index.
 
- environment String
 - The environment where the index is hosted.
 - pod
Type String - The type of pod to use. One of 
s1,p1, orp2appended with.and one ofx1,x2,x4, orx8. - replicas Number
 - The number of replicas. Replicas duplicate your index. They provide higher availability and throughput. Replicas can be scaled up or down as your needs change.
 - meta
Data Property MapConfig  - Configuration for the behavior of Pinecone's internal metadata index.
 - pods Number
 - The number of pods to be used in the index. This should be equal to 
shardsxreplicas. - Number
 - The number of shards. Shards split your data across multiple pods so you can fit more data into an index.
 - source
Collection String - The name of the collection to be used as the source for the index.
 
PineconeServerlessSpec  
- Cloud
Pinecone
Database. Pinecone. Serverless Spec Cloud  - The public cloud where you would like your index hosted.
 - Region string
 - The region where you would like your index to be created. Different cloud providers have different regions available.
 
- Cloud
Serverless
Spec Cloud  - The public cloud where you would like your index hosted.
 - Region string
 - The region where you would like your index to be created. Different cloud providers have different regions available.
 
- cloud
Serverless
Spec Cloud  - The public cloud where you would like your index hosted.
 - region String
 - The region where you would like your index to be created. Different cloud providers have different regions available.
 
- cloud
Serverless
Spec Cloud  - The public cloud where you would like your index hosted.
 - region string
 - The region where you would like your index to be created. Different cloud providers have different regions available.
 
- cloud
Serverless
Spec Cloud  - The public cloud where you would like your index hosted.
 - region str
 - The region where you would like your index to be created. Different cloud providers have different regions available.
 
- cloud "aws" | "azure" | "gcp"
 - The public cloud where you would like your index hosted.
 - region String
 - The region where you would like your index to be created. Different cloud providers have different regions available.
 
PineconeSpec 
- Pod
Pinecone
Database. Pinecone. Inputs. Pinecone Pod Spec  - Configuration needed to deploy a pod index.
 - Serverless
Pinecone
Database. Pinecone. Inputs. Pinecone Serverless Spec  - Configuration needed to deploy a serverless index.
 
- Pod
Pinecone
Pod Spec  - Configuration needed to deploy a pod index.
 - Serverless
Pinecone
Serverless Spec  - Configuration needed to deploy a serverless index.
 
- pod
Pinecone
Pod Spec  - Configuration needed to deploy a pod index.
 - serverless
Pinecone
Serverless Spec  - Configuration needed to deploy a serverless index.
 
- pod
Pinecone
Pod Spec  - Configuration needed to deploy a pod index.
 - serverless
Pinecone
Serverless Spec  - Configuration needed to deploy a serverless index.
 
- pod
Pinecone
Pod Spec  - Configuration needed to deploy a pod index.
 - serverless
Pinecone
Serverless Spec  - Configuration needed to deploy a serverless index.
 
- pod Property Map
 - Configuration needed to deploy a pod index.
 - serverless Property Map
 - Configuration needed to deploy a serverless index.
 
ServerlessSpecCloud  
Package Details
- Repository
 - pinecone pinecone-io/pulumi-pinecone
 - License
 - Apache-2.0