Using getRedisDatabase
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 getRedisDatabase(args: GetRedisDatabaseArgs, opts?: InvokeOptions): Promise<GetRedisDatabaseResult>
function getRedisDatabaseOutput(args: GetRedisDatabaseOutputArgs, opts?: InvokeOptions): Output<GetRedisDatabaseResult>def get_redis_database(database_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRedisDatabaseResult
def get_redis_database_output(database_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRedisDatabaseResult]func LookupRedisDatabase(ctx *Context, args *LookupRedisDatabaseArgs, opts ...InvokeOption) (*LookupRedisDatabaseResult, error)
func LookupRedisDatabaseOutput(ctx *Context, args *LookupRedisDatabaseOutputArgs, opts ...InvokeOption) LookupRedisDatabaseResultOutput> Note: This function is named LookupRedisDatabase in the Go SDK.
public static class GetRedisDatabase
{
public static Task<GetRedisDatabaseResult> InvokeAsync(GetRedisDatabaseArgs args, InvokeOptions? opts = null)
public static Output<GetRedisDatabaseResult> Invoke(GetRedisDatabaseInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetRedisDatabaseResult> getRedisDatabase(GetRedisDatabaseArgs args, InvokeOptions options)
public static Output<GetRedisDatabaseResult> getRedisDatabase(GetRedisDatabaseArgs args, InvokeOptions options)
fn::invoke:
function: upstash:index/getRedisDatabase:getRedisDatabase
arguments:
# arguments dictionaryThe following arguments are supported:
- Database
Id string
- Database
Id string
- database
Id String
- database
Id string
- database_
id str
- database
Id String
getRedisDatabase Result
The following output properties are available:
- Auto
Scale bool - Budget int
- Consistent bool
- Creation
Time int - Database
Id string - Database
Name string - Database
Type string - Db
Daily intBandwidth Limit - Db
Disk intThreshold - Db
Max intClients - Db
Max intCommands Per Second - Db
Max intEntry Size - Db
Max intRequest Size - Db
Memory intThreshold - Endpoint string
- Eviction bool
- Id string
- The provider-assigned unique ID for this managed resource.
- Ip
Allowlists List<string> - Multizone bool
- Password string
- Port int
- Primary
Region string - Prod
Pack bool - Read
Only stringRest Token - Read
Regions List<string> - Region string
- Rest
Token string - State string
- Tls bool
- User
Email string
- Auto
Scale bool - Budget int
- Consistent bool
- Creation
Time int - Database
Id string - Database
Name string - Database
Type string - Db
Daily intBandwidth Limit - Db
Disk intThreshold - Db
Max intClients - Db
Max intCommands Per Second - Db
Max intEntry Size - Db
Max intRequest Size - Db
Memory intThreshold - Endpoint string
- Eviction bool
- Id string
- The provider-assigned unique ID for this managed resource.
- Ip
Allowlists []string - Multizone bool
- Password string
- Port int
- Primary
Region string - Prod
Pack bool - Read
Only stringRest Token - Read
Regions []string - Region string
- Rest
Token string - State string
- Tls bool
- User
Email string
- auto
Scale Boolean - budget Integer
- consistent Boolean
- creation
Time Integer - database
Id String - database
Name String - database
Type String - db
Daily IntegerBandwidth Limit - db
Disk IntegerThreshold - db
Max IntegerClients - db
Max IntegerCommands Per Second - db
Max IntegerEntry Size - db
Max IntegerRequest Size - db
Memory IntegerThreshold - endpoint String
- eviction Boolean
- id String
- The provider-assigned unique ID for this managed resource.
- ip
Allowlists List<String> - multizone Boolean
- password String
- port Integer
- primary
Region String - prod
Pack Boolean - read
Only StringRest Token - read
Regions List<String> - region String
- rest
Token String - state String
- tls Boolean
- user
Email String
- auto
Scale boolean - budget number
- consistent boolean
- creation
Time number - database
Id string - database
Name string - database
Type string - db
Daily numberBandwidth Limit - db
Disk numberThreshold - db
Max numberClients - db
Max numberCommands Per Second - db
Max numberEntry Size - db
Max numberRequest Size - db
Memory numberThreshold - endpoint string
- eviction boolean
- id string
- The provider-assigned unique ID for this managed resource.
- ip
Allowlists string[] - multizone boolean
- password string
- port number
- primary
Region string - prod
Pack boolean - read
Only stringRest Token - read
Regions string[] - region string
- rest
Token string - state string
- tls boolean
- user
Email string
- auto_
scale bool - budget int
- consistent bool
- creation_
time int - database_
id str - database_
name str - database_
type str - db_
daily_ intbandwidth_ limit - db_
disk_ intthreshold - db_
max_ intclients - db_
max_ intcommands_ per_ second - db_
max_ intentry_ size - db_
max_ intrequest_ size - db_
memory_ intthreshold - endpoint str
- eviction bool
- id str
- The provider-assigned unique ID for this managed resource.
- ip_
allowlists Sequence[str] - multizone bool
- password str
- port int
- primary_
region str - prod_
pack bool - read_
only_ strrest_ token - read_
regions Sequence[str] - region str
- rest_
token str - state str
- tls bool
- user_
email str
- auto
Scale Boolean - budget Number
- consistent Boolean
- creation
Time Number - database
Id String - database
Name String - database
Type String - db
Daily NumberBandwidth Limit - db
Disk NumberThreshold - db
Max NumberClients - db
Max NumberCommands Per Second - db
Max NumberEntry Size - db
Max NumberRequest Size - db
Memory NumberThreshold - endpoint String
- eviction Boolean
- id String
- The provider-assigned unique ID for this managed resource.
- ip
Allowlists List<String> - multizone Boolean
- password String
- port Number
- primary
Region String - prod
Pack Boolean - read
Only StringRest Token - read
Regions List<String> - region String
- rest
Token String - state String
- tls Boolean
- user
Email String
Package Details
- Repository
- upstash upstash/pulumi-upstash
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
upstashTerraform Provider.
