1. Packages
  2. Upstash
  3. API Docs
  4. getVectorIndex
Upstash v0.3.14 published on Friday, Aug 9, 2024 by Upstash

upstash.getVectorIndex

Explore with Pulumi AI

Upstash v0.3.14 published on Friday, Aug 9, 2024 by Upstash

Using getVectorIndex

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 getVectorIndex(args: GetVectorIndexArgs, opts?: InvokeOptions): Promise<GetVectorIndexResult>
function getVectorIndexOutput(args: GetVectorIndexOutputArgs, opts?: InvokeOptions): Output<GetVectorIndexResult>
Copy
def get_vector_index(id: Optional[str] = None,
                     opts: Optional[InvokeOptions] = None) -> GetVectorIndexResult
def get_vector_index_output(id: Optional[pulumi.Input[str]] = None,
                     opts: Optional[InvokeOptions] = None) -> Output[GetVectorIndexResult]
Copy
func LookupVectorIndex(ctx *Context, args *LookupVectorIndexArgs, opts ...InvokeOption) (*LookupVectorIndexResult, error)
func LookupVectorIndexOutput(ctx *Context, args *LookupVectorIndexOutputArgs, opts ...InvokeOption) LookupVectorIndexResultOutput
Copy

> Note: This function is named LookupVectorIndex in the Go SDK.

public static class GetVectorIndex 
{
    public static Task<GetVectorIndexResult> InvokeAsync(GetVectorIndexArgs args, InvokeOptions? opts = null)
    public static Output<GetVectorIndexResult> Invoke(GetVectorIndexInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<GetVectorIndexResult> getVectorIndex(GetVectorIndexArgs args, InvokeOptions options)
public static Output<GetVectorIndexResult> getVectorIndex(GetVectorIndexArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: upstash:index/getVectorIndex:getVectorIndex
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Id This property is required. string
Id This property is required. string
id This property is required. String
id This property is required. string
id This property is required. str
id This property is required. String

getVectorIndex Result

The following output properties are available:

Package Details

Repository
upstash upstash/pulumi-upstash
License
Apache-2.0
Notes
This Pulumi package is based on the upstash Terraform Provider.
Upstash v0.3.14 published on Friday, Aug 9, 2024 by Upstash