upstash.Search
Explore with Pulumi AI
Create Search Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Search(name: string, args: SearchArgs, opts?: CustomResourceOptions);
@overload
def Search(resource_name: str,
args: SearchArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Search(resource_name: str,
opts: Optional[ResourceOptions] = None,
region: Optional[str] = None,
type: Optional[str] = None,
name: Optional[str] = None,
reserved_price: Optional[float] = None)
func NewSearch(ctx *Context, name string, args SearchArgs, opts ...ResourceOption) (*Search, error)
public Search(string name, SearchArgs args, CustomResourceOptions? opts = null)
public Search(String name, SearchArgs args)
public Search(String name, SearchArgs args, CustomResourceOptions options)
type: upstash:Search
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 SearchArgs
- 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 SearchArgs
- 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 SearchArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SearchArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SearchArgs
- 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 searchResource = new Upstash.Search("searchResource", new()
{
Region = "string",
Type = "string",
Name = "string",
ReservedPrice = 0,
});
example, err := upstash.NewSearch(ctx, "searchResource", &upstash.SearchArgs{
Region: pulumi.String("string"),
Type: pulumi.String("string"),
Name: pulumi.String("string"),
ReservedPrice: pulumi.Float64(0),
})
var searchResource = new Search("searchResource", SearchArgs.builder()
.region("string")
.type("string")
.name("string")
.reservedPrice(0.0)
.build());
search_resource = upstash.Search("searchResource",
region="string",
type="string",
name="string",
reserved_price=0)
const searchResource = new upstash.Search("searchResource", {
region: "string",
type: "string",
name: "string",
reservedPrice: 0,
});
type: upstash:Search
properties:
name: string
region: string
reservedPrice: 0
type: string
Search 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 Search resource accepts the following input properties:
- Region string
- The region where your search is deployed.
- Type string
- Associated plan of the search.
payg
can be used - Name string
- Name of the search.
- Reserved
Price double - Monthly pricing of your search. Only available for fixed and pro plans.
- Region string
- The region where your search is deployed.
- Type string
- Associated plan of the search.
payg
can be used - Name string
- Name of the search.
- Reserved
Price float64 - Monthly pricing of your search. Only available for fixed and pro plans.
- region String
- The region where your search is deployed.
- type String
- Associated plan of the search.
payg
can be used - name String
- Name of the search.
- reserved
Price Double - Monthly pricing of your search. Only available for fixed and pro plans.
- region string
- The region where your search is deployed.
- type string
- Associated plan of the search.
payg
can be used - name string
- Name of the search.
- reserved
Price number - Monthly pricing of your search. Only available for fixed and pro plans.
- region str
- The region where your search is deployed.
- type str
- Associated plan of the search.
payg
can be used - name str
- Name of the search.
- reserved_
price float - Monthly pricing of your search. Only available for fixed and pro plans.
- region String
- The region where your search is deployed.
- type String
- Associated plan of the search.
payg
can be used - name String
- Name of the search.
- reserved
Price Number - Monthly pricing of your search. Only available for fixed and pro plans.
Outputs
All input properties are implicitly available as output properties. Additionally, the Search resource produces the following output properties:
- Creation
Time int - The creation time of the search in UTC as unix timestamp.
- Customer
Id string - The unique ID associated to the owner of this search.
- Endpoint string
- Associated endpoint of your search.
- 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 search. 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 search.
- Max
Vector intCount - The number of maximum that your search 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 search. You can't perform update operation with this token.
- Token string
- REST token to send request to the related search.
- Creation
Time int - The creation time of the search in UTC as unix timestamp.
- Customer
Id string - The unique ID associated to the owner of this search.
- Endpoint string
- Associated endpoint of your search.
- 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 search. 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 search.
- Max
Vector intCount - The number of maximum that your search 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 search. You can't perform update operation with this token.
- Token string
- REST token to send request to the related search.
- creation
Time Integer - The creation time of the search in UTC as unix timestamp.
- customer
Id String - The unique ID associated to the owner of this search.
- endpoint String
- Associated endpoint of your search.
- 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 search. 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 search.
- max
Vector IntegerCount - The number of maximum that your search 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 search. You can't perform update operation with this token.
- token String
- REST token to send request to the related search.
- creation
Time number - The creation time of the search in UTC as unix timestamp.
- customer
Id string - The unique ID associated to the owner of this search.
- endpoint string
- Associated endpoint of your search.
- 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 search. 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 search.
- max
Vector numberCount - The number of maximum that your search 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 search. You can't perform update operation with this token.
- token string
- REST token to send request to the related search.
- creation_
time int - The creation time of the search in UTC as unix timestamp.
- customer_
id str - The unique ID associated to the owner of this search.
- endpoint str
- Associated endpoint of your search.
- 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 search. 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 search.
- max_
vector_ intcount - The number of maximum that your search 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 search. You can't perform update operation with this token.
- token str
- REST token to send request to the related search.
- creation
Time Number - The creation time of the search in UTC as unix timestamp.
- customer
Id String - The unique ID associated to the owner of this search.
- endpoint String
- Associated endpoint of your search.
- 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 search. 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 search.
- max
Vector NumberCount - The number of maximum that your search 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 search. You can't perform update operation with this token.
- token String
- REST token to send request to the related search.
Look up Existing Search Resource
Get an existing Search 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?: SearchState, opts?: CustomResourceOptions): Search
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
creation_time: Optional[int] = None,
customer_id: Optional[str] = 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,
token: Optional[str] = None,
type: Optional[str] = None) -> Search
func GetSearch(ctx *Context, name string, id IDInput, state *SearchState, opts ...ResourceOption) (*Search, error)
public static Search Get(string name, Input<string> id, SearchState? state, CustomResourceOptions? opts = null)
public static Search get(String name, Output<String> id, SearchState state, CustomResourceOptions options)
resources: _: type: upstash:Search get: id: ${id}
- 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 search in UTC as unix timestamp.
- Customer
Id string - The unique ID associated to the owner of this search.
- Endpoint string
- Associated endpoint of your search.
- 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 search. 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 search.
- Max
Vector intCount - The number of maximum that your search 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 search.
- Read
Only stringToken - Readonly REST token to send request to the related search. You can't perform update operation with this token.
- Region string
- The region where your search is deployed.
- Reserved
Price double - Monthly pricing of your search. Only available for fixed and pro plans.
- Token string
- REST token to send request to the related search.
- Type string
- Associated plan of the search.
payg
can be used
- Creation
Time int - The creation time of the search in UTC as unix timestamp.
- Customer
Id string - The unique ID associated to the owner of this search.
- Endpoint string
- Associated endpoint of your search.
- 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 search. 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 search.
- Max
Vector intCount - The number of maximum that your search 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 search.
- Read
Only stringToken - Readonly REST token to send request to the related search. You can't perform update operation with this token.
- Region string
- The region where your search is deployed.
- Reserved
Price float64 - Monthly pricing of your search. Only available for fixed and pro plans.
- Token string
- REST token to send request to the related search.
- Type string
- Associated plan of the search.
payg
can be used
- creation
Time Integer - The creation time of the search in UTC as unix timestamp.
- customer
Id String - The unique ID associated to the owner of this search.
- endpoint String
- Associated endpoint of your search.
- 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 search. 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 search.
- max
Vector IntegerCount - The number of maximum that your search 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 search.
- read
Only StringToken - Readonly REST token to send request to the related search. You can't perform update operation with this token.
- region String
- The region where your search is deployed.
- reserved
Price Double - Monthly pricing of your search. Only available for fixed and pro plans.
- token String
- REST token to send request to the related search.
- type String
- Associated plan of the search.
payg
can be used
- creation
Time number - The creation time of the search in UTC as unix timestamp.
- customer
Id string - The unique ID associated to the owner of this search.
- endpoint string
- Associated endpoint of your search.
- 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 search. 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 search.
- max
Vector numberCount - The number of maximum that your search 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 search.
- read
Only stringToken - Readonly REST token to send request to the related search. You can't perform update operation with this token.
- region string
- The region where your search is deployed.
- reserved
Price number - Monthly pricing of your search. Only available for fixed and pro plans.
- token string
- REST token to send request to the related search.
- type string
- Associated plan of the search.
payg
can be used
- creation_
time int - The creation time of the search in UTC as unix timestamp.
- customer_
id str - The unique ID associated to the owner of this search.
- endpoint str
- Associated endpoint of your search.
- 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 search. 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 search.
- max_
vector_ intcount - The number of maximum that your search 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 search.
- read_
only_ strtoken - Readonly REST token to send request to the related search. You can't perform update operation with this token.
- region str
- The region where your search is deployed.
- reserved_
price float - Monthly pricing of your search. Only available for fixed and pro plans.
- token str
- REST token to send request to the related search.
- type str
- Associated plan of the search.
payg
can be used
- creation
Time Number - The creation time of the search in UTC as unix timestamp.
- customer
Id String - The unique ID associated to the owner of this search.
- endpoint String
- Associated endpoint of your search.
- 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 search. 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 search.
- max
Vector NumberCount - The number of maximum that your search 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 search.
- read
Only StringToken - Readonly REST token to send request to the related search. You can't perform update operation with this token.
- region String
- The region where your search is deployed.
- reserved
Price Number - Monthly pricing of your search. Only available for fixed and pro plans.
- token String
- REST token to send request to the related search.
- type String
- Associated plan of the search.
payg
can be used
Package Details
- Repository
- upstash upstash/pulumi-upstash
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
upstash
Terraform Provider.