upstash.VectorIndex
Explore with Pulumi AI
Example Usage
using Pulumi;
using Upstash = Pulumi.Upstash;
class MyStack : Stack
{
public MyStack()
{
var vectorResource = new Upstash.VectorIndex("vectorResource", new Upstash.VectorIndexArgs
{
DimensionCount = 1536,
Region = "us-east-1",
SimilarityFunction = "COSINE",
Type = "fixed",
});
}
}
package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
"github.com/upstash/pulumi-upstash/sdk/go/upstash"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := upstash.NewVectorIndex(ctx, "vectorResource", &upstash.VectorIndexArgs{
DimensionCount: pulumi.Int(1536),
Region: pulumi.String("us-east-1"),
SimilarityFunction: pulumi.String("COSINE"),
Type: pulumi.String("fixed"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import java.util.*;
import java.io.*;
import java.nio.*;
import com.pulumi.*;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var vectorResource = new VectorIndex("vectorResource", VectorIndexArgs.builder()
.dimensionCount(1536)
.region("us-east-1")
.similarityFunction("COSINE")
.type("fixed")
.build());
}
}
import pulumi
import upstash_pulumi as upstash
vector_resource = upstash.VectorIndex("vectorResource",
dimension_count=1536,
region="us-east-1",
similarity_function="COSINE",
type="fixed")
import * as pulumi from "@pulumi/pulumi";
import * as upstash from "@pulumi/upstash";
const vectorResource = new upstash.VectorIndex("vectorResource", {
dimensionCount: 1536,
region: "us-east-1",
similarityFunction: "COSINE",
type: "fixed",
});
resources:
vectorResource:
type: upstash:VectorIndex
properties:
dimensionCount: 1536
region: us-east-1
similarityFunction: COSINE
type: fixed
Create VectorIndex Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new VectorIndex(name: string, args: VectorIndexArgs, opts?: CustomResourceOptions);
@overload
def VectorIndex(resource_name: str,
args: VectorIndexArgs,
opts: Optional[ResourceOptions] = None)
@overload
def VectorIndex(resource_name: str,
opts: Optional[ResourceOptions] = None,
dimension_count: Optional[int] = None,
region: Optional[str] = None,
similarity_function: Optional[str] = None,
type: Optional[str] = None,
name: Optional[str] = None,
reserved_price: Optional[float] = None)
func NewVectorIndex(ctx *Context, name string, args VectorIndexArgs, opts ...ResourceOption) (*VectorIndex, error)
public VectorIndex(string name, VectorIndexArgs args, CustomResourceOptions? opts = null)
public VectorIndex(String name, VectorIndexArgs args)
public VectorIndex(String name, VectorIndexArgs args, CustomResourceOptions options)
type: upstash:VectorIndex
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args VectorIndexArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args VectorIndexArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args VectorIndexArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args VectorIndexArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args VectorIndexArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var vectorIndexResource = new Upstash.VectorIndex("vectorIndexResource", new()
{
DimensionCount = 0,
Region = "string",
SimilarityFunction = "string",
Type = "string",
Name = "string",
ReservedPrice = 0,
});
example, err := upstash.NewVectorIndex(ctx, "vectorIndexResource", &upstash.VectorIndexArgs{
DimensionCount: pulumi.Int(0),
Region: pulumi.String("string"),
SimilarityFunction: pulumi.String("string"),
Type: pulumi.String("string"),
Name: pulumi.String("string"),
ReservedPrice: pulumi.Float64(0),
})
var vectorIndexResource = new VectorIndex("vectorIndexResource", VectorIndexArgs.builder()
.dimensionCount(0)
.region("string")
.similarityFunction("string")
.type("string")
.name("string")
.reservedPrice(0)
.build());
vector_index_resource = upstash.VectorIndex("vectorIndexResource",
dimension_count=0,
region="string",
similarity_function="string",
type="string",
name="string",
reserved_price=0)
const vectorIndexResource = new upstash.VectorIndex("vectorIndexResource", {
dimensionCount: 0,
region: "string",
similarityFunction: "string",
type: "string",
name: "string",
reservedPrice: 0,
});
type: upstash:VectorIndex
properties:
dimensionCount: 0
name: string
region: string
reservedPrice: 0
similarityFunction: string
type: string
VectorIndex Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The VectorIndex resource accepts the following input properties:
- Dimension
Count int - Size of the vector array.
- Region string
- The region where your index is deployed.
- Similarity
Function string - Associated distance metric to calculate the similarity.
- Type string
- Associated plan of the index. Either
free
,paid
,fixed
orpro
. - Name string
- Name of the index.
- Reserved
Price double - Monthly pricing of your index. Only available for fixed and pro plans.
- Dimension
Count int - Size of the vector array.
- Region string
- The region where your index is deployed.
- Similarity
Function string - Associated distance metric to calculate the similarity.
- Type string
- Associated plan of the index. Either
free
,paid
,fixed
orpro
. - Name string
- Name of the index.
- Reserved
Price float64 - Monthly pricing of your index. Only available for fixed and pro plans.
- dimension
Count Integer - Size of the vector array.
- region String
- The region where your index is deployed.
- similarity
Function String - Associated distance metric to calculate the similarity.
- type String
- Associated plan of the index. Either
free
,paid
,fixed
orpro
. - name String
- Name of the index.
- reserved
Price Double - Monthly pricing of your index. Only available for fixed and pro plans.
- dimension
Count number - Size of the vector array.
- region string
- The region where your index is deployed.
- similarity
Function string - Associated distance metric to calculate the similarity.
- type string
- Associated plan of the index. Either
free
,paid
,fixed
orpro
. - name string
- Name of the index.
- reserved
Price number - Monthly pricing of your index. Only available for fixed and pro plans.
- dimension_
count int - Size of the vector array.
- region str
- The region where your index is deployed.
- similarity_
function str - Associated distance metric to calculate the similarity.
- type str
- Associated plan of the index. Either
free
,paid
,fixed
orpro
. - name str
- Name of the index.
- reserved_
price float - Monthly pricing of your index. Only available for fixed and pro plans.
- dimension
Count Number - Size of the vector array.
- region String
- The region where your index is deployed.
- similarity
Function String - Associated distance metric to calculate the similarity.
- type String
- Associated plan of the index. Either
free
,paid
,fixed
orpro
. - name String
- Name of the index.
- reserved
Price Number - Monthly pricing of your index. Only available for fixed and pro plans.
Outputs
All input properties are implicitly available as output properties. Additionally, the VectorIndex resource produces the following output properties:
- Creation
Time int - The creation time of the vector index in UTC as unix timestamp.
- Customer
Id string - The unique ID associated to the owner of this index.
- Endpoint string
- Associated endpoint of your index.
- Id string
- The provider-assigned unique ID for this managed resource.
- Max
Daily intQueries - The number of maximum query operations you can perform in a day. Only query operations are included in query count.
- Max
Daily intUpdates - The number of maximum update operations you can perform in a day. Only upsert operations are included in update count.
- Max
Monthly intBandwidth - The maximum amount of monthly bandwidth for the index. Unit is bytes.
-1
if the limit is unlimited. - Max
Query intPer Second - The number of maximum query operations you can perform per second. Only query operations are included in query count.
- Max
Reads intPer Request - The number of maximum vectors in a read operation. Query and fetch operations are included in read operations.
- Max
Total intMetadata Size - The amount of maximum size for the total metadata sizes in your index.
- Max
Vector intCount - The number of maximum that your index can contain.
- Max
Writes intPer Request - The number of maximum vectors in a write operation. Only upsert operations are included in write operations.
- Max
Writes intPer Second - The number of maximum write operations you can perform per second. Only upsert operations are included in write count.
- Read
Only stringToken - Readonly REST token to send request to the related index. You can't perform update operation with this token.
- Token string
- REST token to send request to the related index.
- Creation
Time int - The creation time of the vector index in UTC as unix timestamp.
- Customer
Id string - The unique ID associated to the owner of this index.
- Endpoint string
- Associated endpoint of your index.
- Id string
- The provider-assigned unique ID for this managed resource.
- Max
Daily intQueries - The number of maximum query operations you can perform in a day. Only query operations are included in query count.
- Max
Daily intUpdates - The number of maximum update operations you can perform in a day. Only upsert operations are included in update count.
- Max
Monthly intBandwidth - The maximum amount of monthly bandwidth for the index. Unit is bytes.
-1
if the limit is unlimited. - Max
Query intPer Second - The number of maximum query operations you can perform per second. Only query operations are included in query count.
- Max
Reads intPer Request - The number of maximum vectors in a read operation. Query and fetch operations are included in read operations.
- Max
Total intMetadata Size - The amount of maximum size for the total metadata sizes in your index.
- Max
Vector intCount - The number of maximum that your index can contain.
- Max
Writes intPer Request - The number of maximum vectors in a write operation. Only upsert operations are included in write operations.
- Max
Writes intPer Second - The number of maximum write operations you can perform per second. Only upsert operations are included in write count.
- Read
Only stringToken - Readonly REST token to send request to the related index. You can't perform update operation with this token.
- Token string
- REST token to send request to the related index.
- creation
Time Integer - The creation time of the vector index in UTC as unix timestamp.
- customer
Id String - The unique ID associated to the owner of this index.
- endpoint String
- Associated endpoint of your index.
- id String
- The provider-assigned unique ID for this managed resource.
- max
Daily IntegerQueries - The number of maximum query operations you can perform in a day. Only query operations are included in query count.
- max
Daily IntegerUpdates - The number of maximum update operations you can perform in a day. Only upsert operations are included in update count.
- max
Monthly IntegerBandwidth - The maximum amount of monthly bandwidth for the index. Unit is bytes.
-1
if the limit is unlimited. - max
Query IntegerPer Second - The number of maximum query operations you can perform per second. Only query operations are included in query count.
- max
Reads IntegerPer Request - The number of maximum vectors in a read operation. Query and fetch operations are included in read operations.
- max
Total IntegerMetadata Size - The amount of maximum size for the total metadata sizes in your index.
- max
Vector IntegerCount - The number of maximum that your index can contain.
- max
Writes IntegerPer Request - The number of maximum vectors in a write operation. Only upsert operations are included in write operations.
- max
Writes IntegerPer Second - The number of maximum write operations you can perform per second. Only upsert operations are included in write count.
- read
Only StringToken - Readonly REST token to send request to the related index. You can't perform update operation with this token.
- token String
- REST token to send request to the related index.
- creation
Time number - The creation time of the vector index in UTC as unix timestamp.
- customer
Id string - The unique ID associated to the owner of this index.
- endpoint string
- Associated endpoint of your index.
- id string
- The provider-assigned unique ID for this managed resource.
- max
Daily numberQueries - The number of maximum query operations you can perform in a day. Only query operations are included in query count.
- max
Daily numberUpdates - The number of maximum update operations you can perform in a day. Only upsert operations are included in update count.
- max
Monthly numberBandwidth - The maximum amount of monthly bandwidth for the index. Unit is bytes.
-1
if the limit is unlimited. - max
Query numberPer Second - The number of maximum query operations you can perform per second. Only query operations are included in query count.
- max
Reads numberPer Request - The number of maximum vectors in a read operation. Query and fetch operations are included in read operations.
- max
Total numberMetadata Size - The amount of maximum size for the total metadata sizes in your index.
- max
Vector numberCount - The number of maximum that your index can contain.
- max
Writes numberPer Request - The number of maximum vectors in a write operation. Only upsert operations are included in write operations.
- max
Writes numberPer Second - The number of maximum write operations you can perform per second. Only upsert operations are included in write count.
- read
Only stringToken - Readonly REST token to send request to the related index. You can't perform update operation with this token.
- token string
- REST token to send request to the related index.
- creation_
time int - The creation time of the vector index in UTC as unix timestamp.
- customer_
id str - The unique ID associated to the owner of this index.
- endpoint str
- Associated endpoint of your index.
- id str
- The provider-assigned unique ID for this managed resource.
- max_
daily_ intqueries - The number of maximum query operations you can perform in a day. Only query operations are included in query count.
- max_
daily_ intupdates - The number of maximum update operations you can perform in a day. Only upsert operations are included in update count.
- max_
monthly_ intbandwidth - The maximum amount of monthly bandwidth for the index. Unit is bytes.
-1
if the limit is unlimited. - max_
query_ intper_ second - The number of maximum query operations you can perform per second. Only query operations are included in query count.
- max_
reads_ intper_ request - The number of maximum vectors in a read operation. Query and fetch operations are included in read operations.
- max_
total_ intmetadata_ size - The amount of maximum size for the total metadata sizes in your index.
- max_
vector_ intcount - The number of maximum that your index can contain.
- max_
writes_ intper_ request - The number of maximum vectors in a write operation. Only upsert operations are included in write operations.
- max_
writes_ intper_ second - The number of maximum write operations you can perform per second. Only upsert operations are included in write count.
- read_
only_ strtoken - Readonly REST token to send request to the related index. You can't perform update operation with this token.
- token str
- REST token to send request to the related index.
- creation
Time Number - The creation time of the vector index in UTC as unix timestamp.
- customer
Id String - The unique ID associated to the owner of this index.
- endpoint String
- Associated endpoint of your index.
- id String
- The provider-assigned unique ID for this managed resource.
- max
Daily NumberQueries - The number of maximum query operations you can perform in a day. Only query operations are included in query count.
- max
Daily NumberUpdates - The number of maximum update operations you can perform in a day. Only upsert operations are included in update count.
- max
Monthly NumberBandwidth - The maximum amount of monthly bandwidth for the index. Unit is bytes.
-1
if the limit is unlimited. - max
Query NumberPer Second - The number of maximum query operations you can perform per second. Only query operations are included in query count.
- max
Reads NumberPer Request - The number of maximum vectors in a read operation. Query and fetch operations are included in read operations.
- max
Total NumberMetadata Size - The amount of maximum size for the total metadata sizes in your index.
- max
Vector NumberCount - The number of maximum that your index can contain.
- max
Writes NumberPer Request - The number of maximum vectors in a write operation. Only upsert operations are included in write operations.
- max
Writes NumberPer Second - The number of maximum write operations you can perform per second. Only upsert operations are included in write count.
- read
Only StringToken - Readonly REST token to send request to the related index. You can't perform update operation with this token.
- token String
- REST token to send request to the related index.
Look up Existing VectorIndex Resource
Get an existing VectorIndex resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: VectorIndexState, opts?: CustomResourceOptions): VectorIndex
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
creation_time: Optional[int] = None,
customer_id: Optional[str] = None,
dimension_count: Optional[int] = None,
endpoint: Optional[str] = None,
max_daily_queries: Optional[int] = None,
max_daily_updates: Optional[int] = None,
max_monthly_bandwidth: Optional[int] = None,
max_query_per_second: Optional[int] = None,
max_reads_per_request: Optional[int] = None,
max_total_metadata_size: Optional[int] = None,
max_vector_count: Optional[int] = None,
max_writes_per_request: Optional[int] = None,
max_writes_per_second: Optional[int] = None,
name: Optional[str] = None,
read_only_token: Optional[str] = None,
region: Optional[str] = None,
reserved_price: Optional[float] = None,
similarity_function: Optional[str] = None,
token: Optional[str] = None,
type: Optional[str] = None) -> VectorIndex
func GetVectorIndex(ctx *Context, name string, id IDInput, state *VectorIndexState, opts ...ResourceOption) (*VectorIndex, error)
public static VectorIndex Get(string name, Input<string> id, VectorIndexState? state, CustomResourceOptions? opts = null)
public static VectorIndex get(String name, Output<String> id, VectorIndexState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Creation
Time int - The creation time of the vector index in UTC as unix timestamp.
- Customer
Id string - The unique ID associated to the owner of this index.
- Dimension
Count int - Size of the vector array.
- Endpoint string
- Associated endpoint of your index.
- Max
Daily intQueries - The number of maximum query operations you can perform in a day. Only query operations are included in query count.
- Max
Daily intUpdates - The number of maximum update operations you can perform in a day. Only upsert operations are included in update count.
- Max
Monthly intBandwidth - The maximum amount of monthly bandwidth for the index. Unit is bytes.
-1
if the limit is unlimited. - Max
Query intPer Second - The number of maximum query operations you can perform per second. Only query operations are included in query count.
- Max
Reads intPer Request - The number of maximum vectors in a read operation. Query and fetch operations are included in read operations.
- Max
Total intMetadata Size - The amount of maximum size for the total metadata sizes in your index.
- Max
Vector intCount - The number of maximum that your index can contain.
- Max
Writes intPer Request - The number of maximum vectors in a write operation. Only upsert operations are included in write operations.
- Max
Writes intPer Second - The number of maximum write operations you can perform per second. Only upsert operations are included in write count.
- Name string
- Name of the index.
- Read
Only stringToken - Readonly REST token to send request to the related index. You can't perform update operation with this token.
- Region string
- The region where your index is deployed.
- Reserved
Price double - Monthly pricing of your index. Only available for fixed and pro plans.
- Similarity
Function string - Associated distance metric to calculate the similarity.
- Token string
- REST token to send request to the related index.
- Type string
- Associated plan of the index. Either
free
,paid
,fixed
orpro
.
- Creation
Time int - The creation time of the vector index in UTC as unix timestamp.
- Customer
Id string - The unique ID associated to the owner of this index.
- Dimension
Count int - Size of the vector array.
- Endpoint string
- Associated endpoint of your index.
- Max
Daily intQueries - The number of maximum query operations you can perform in a day. Only query operations are included in query count.
- Max
Daily intUpdates - The number of maximum update operations you can perform in a day. Only upsert operations are included in update count.
- Max
Monthly intBandwidth - The maximum amount of monthly bandwidth for the index. Unit is bytes.
-1
if the limit is unlimited. - Max
Query intPer Second - The number of maximum query operations you can perform per second. Only query operations are included in query count.
- Max
Reads intPer Request - The number of maximum vectors in a read operation. Query and fetch operations are included in read operations.
- Max
Total intMetadata Size - The amount of maximum size for the total metadata sizes in your index.
- Max
Vector intCount - The number of maximum that your index can contain.
- Max
Writes intPer Request - The number of maximum vectors in a write operation. Only upsert operations are included in write operations.
- Max
Writes intPer Second - The number of maximum write operations you can perform per second. Only upsert operations are included in write count.
- Name string
- Name of the index.
- Read
Only stringToken - Readonly REST token to send request to the related index. You can't perform update operation with this token.
- Region string
- The region where your index is deployed.
- Reserved
Price float64 - Monthly pricing of your index. Only available for fixed and pro plans.
- Similarity
Function string - Associated distance metric to calculate the similarity.
- Token string
- REST token to send request to the related index.
- Type string
- Associated plan of the index. Either
free
,paid
,fixed
orpro
.
- creation
Time Integer - The creation time of the vector index in UTC as unix timestamp.
- customer
Id String - The unique ID associated to the owner of this index.
- dimension
Count Integer - Size of the vector array.
- endpoint String
- Associated endpoint of your index.
- max
Daily IntegerQueries - The number of maximum query operations you can perform in a day. Only query operations are included in query count.
- max
Daily IntegerUpdates - The number of maximum update operations you can perform in a day. Only upsert operations are included in update count.
- max
Monthly IntegerBandwidth - The maximum amount of monthly bandwidth for the index. Unit is bytes.
-1
if the limit is unlimited. - max
Query IntegerPer Second - The number of maximum query operations you can perform per second. Only query operations are included in query count.
- max
Reads IntegerPer Request - The number of maximum vectors in a read operation. Query and fetch operations are included in read operations.
- max
Total IntegerMetadata Size - The amount of maximum size for the total metadata sizes in your index.
- max
Vector IntegerCount - The number of maximum that your index can contain.
- max
Writes IntegerPer Request - The number of maximum vectors in a write operation. Only upsert operations are included in write operations.
- max
Writes IntegerPer Second - The number of maximum write operations you can perform per second. Only upsert operations are included in write count.
- name String
- Name of the index.
- read
Only StringToken - Readonly REST token to send request to the related index. You can't perform update operation with this token.
- region String
- The region where your index is deployed.
- reserved
Price Double - Monthly pricing of your index. Only available for fixed and pro plans.
- similarity
Function String - Associated distance metric to calculate the similarity.
- token String
- REST token to send request to the related index.
- type String
- Associated plan of the index. Either
free
,paid
,fixed
orpro
.
- creation
Time number - The creation time of the vector index in UTC as unix timestamp.
- customer
Id string - The unique ID associated to the owner of this index.
- dimension
Count number - Size of the vector array.
- endpoint string
- Associated endpoint of your index.
- max
Daily numberQueries - The number of maximum query operations you can perform in a day. Only query operations are included in query count.
- max
Daily numberUpdates - The number of maximum update operations you can perform in a day. Only upsert operations are included in update count.
- max
Monthly numberBandwidth - The maximum amount of monthly bandwidth for the index. Unit is bytes.
-1
if the limit is unlimited. - max
Query numberPer Second - The number of maximum query operations you can perform per second. Only query operations are included in query count.
- max
Reads numberPer Request - The number of maximum vectors in a read operation. Query and fetch operations are included in read operations.
- max
Total numberMetadata Size - The amount of maximum size for the total metadata sizes in your index.
- max
Vector numberCount - The number of maximum that your index can contain.
- max
Writes numberPer Request - The number of maximum vectors in a write operation. Only upsert operations are included in write operations.
- max
Writes numberPer Second - The number of maximum write operations you can perform per second. Only upsert operations are included in write count.
- name string
- Name of the index.
- read
Only stringToken - Readonly REST token to send request to the related index. You can't perform update operation with this token.
- region string
- The region where your index is deployed.
- reserved
Price number - Monthly pricing of your index. Only available for fixed and pro plans.
- similarity
Function string - Associated distance metric to calculate the similarity.
- token string
- REST token to send request to the related index.
- type string
- Associated plan of the index. Either
free
,paid
,fixed
orpro
.
- creation_
time int - The creation time of the vector index in UTC as unix timestamp.
- customer_
id str - The unique ID associated to the owner of this index.
- dimension_
count int - Size of the vector array.
- endpoint str
- Associated endpoint of your index.
- max_
daily_ intqueries - The number of maximum query operations you can perform in a day. Only query operations are included in query count.
- max_
daily_ intupdates - The number of maximum update operations you can perform in a day. Only upsert operations are included in update count.
- max_
monthly_ intbandwidth - The maximum amount of monthly bandwidth for the index. Unit is bytes.
-1
if the limit is unlimited. - max_
query_ intper_ second - The number of maximum query operations you can perform per second. Only query operations are included in query count.
- max_
reads_ intper_ request - The number of maximum vectors in a read operation. Query and fetch operations are included in read operations.
- max_
total_ intmetadata_ size - The amount of maximum size for the total metadata sizes in your index.
- max_
vector_ intcount - The number of maximum that your index can contain.
- max_
writes_ intper_ request - The number of maximum vectors in a write operation. Only upsert operations are included in write operations.
- max_
writes_ intper_ second - The number of maximum write operations you can perform per second. Only upsert operations are included in write count.
- name str
- Name of the index.
- read_
only_ strtoken - Readonly REST token to send request to the related index. You can't perform update operation with this token.
- region str
- The region where your index is deployed.
- reserved_
price float - Monthly pricing of your index. Only available for fixed and pro plans.
- similarity_
function str - Associated distance metric to calculate the similarity.
- token str
- REST token to send request to the related index.
- type str
- Associated plan of the index. Either
free
,paid
,fixed
orpro
.
- creation
Time Number - The creation time of the vector index in UTC as unix timestamp.
- customer
Id String - The unique ID associated to the owner of this index.
- dimension
Count Number - Size of the vector array.
- endpoint String
- Associated endpoint of your index.
- max
Daily NumberQueries - The number of maximum query operations you can perform in a day. Only query operations are included in query count.
- max
Daily NumberUpdates - The number of maximum update operations you can perform in a day. Only upsert operations are included in update count.
- max
Monthly NumberBandwidth - The maximum amount of monthly bandwidth for the index. Unit is bytes.
-1
if the limit is unlimited. - max
Query NumberPer Second - The number of maximum query operations you can perform per second. Only query operations are included in query count.
- max
Reads NumberPer Request - The number of maximum vectors in a read operation. Query and fetch operations are included in read operations.
- max
Total NumberMetadata Size - The amount of maximum size for the total metadata sizes in your index.
- max
Vector NumberCount - The number of maximum that your index can contain.
- max
Writes NumberPer Request - The number of maximum vectors in a write operation. Only upsert operations are included in write operations.
- max
Writes NumberPer Second - The number of maximum write operations you can perform per second. Only upsert operations are included in write count.
- name String
- Name of the index.
- read
Only StringToken - Readonly REST token to send request to the related index. You can't perform update operation with this token.
- region String
- The region where your index is deployed.
- reserved
Price Number - Monthly pricing of your index. Only available for fixed and pro plans.
- similarity
Function String - Associated distance metric to calculate the similarity.
- token String
- REST token to send request to the related index.
- type String
- Associated plan of the index. Either
free
,paid
,fixed
orpro
.
Package Details
- Repository
- upstash upstash/pulumi-upstash
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
upstash
Terraform Provider.