Aiven v6.28.0 published on Friday, Nov 15, 2024 by Pulumi
aiven.getRedis
Explore with Pulumi AI
The Redis data source provides information about the existing Aiven Redis service.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";
const redis1 = aiven.getRedis({
project: pr1.project,
serviceName: "my-redis1",
});
import pulumi
import pulumi_aiven as aiven
redis1 = aiven.get_redis(project=pr1["project"],
service_name="my-redis1")
package main
import (
"github.com/pulumi/pulumi-aiven/sdk/v6/go/aiven"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := aiven.LookupRedis(ctx, &aiven.LookupRedisArgs{
Project: pr1.Project,
ServiceName: "my-redis1",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aiven = Pulumi.Aiven;
return await Deployment.RunAsync(() =>
{
var redis1 = Aiven.GetRedis.Invoke(new()
{
Project = pr1.Project,
ServiceName = "my-redis1",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aiven.AivenFunctions;
import com.pulumi.aiven.inputs.GetRedisArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var redis1 = AivenFunctions.getRedis(GetRedisArgs.builder()
.project(pr1.project())
.serviceName("my-redis1")
.build());
}
}
variables:
redis1:
fn::invoke:
Function: aiven:getRedis
Arguments:
project: ${pr1.project}
serviceName: my-redis1
Using getRedis
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 getRedis(args: GetRedisArgs, opts?: InvokeOptions): Promise<GetRedisResult>
function getRedisOutput(args: GetRedisOutputArgs, opts?: InvokeOptions): Output<GetRedisResult>
def get_redis(project: Optional[str] = None,
service_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetRedisResult
def get_redis_output(project: Optional[pulumi.Input[str]] = None,
service_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetRedisResult]
func LookupRedis(ctx *Context, args *LookupRedisArgs, opts ...InvokeOption) (*LookupRedisResult, error)
func LookupRedisOutput(ctx *Context, args *LookupRedisOutputArgs, opts ...InvokeOption) LookupRedisResultOutput
> Note: This function is named LookupRedis
in the Go SDK.
public static class GetRedis
{
public static Task<GetRedisResult> InvokeAsync(GetRedisArgs args, InvokeOptions? opts = null)
public static Output<GetRedisResult> Invoke(GetRedisInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetRedisResult> getRedis(GetRedisArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aiven:index/getRedis:getRedis
arguments:
# arguments dictionary
The following arguments are supported:
- Project string
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- Service
Name string - Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- Project string
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- Service
Name string - Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- project String
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- service
Name String - Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- project string
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- service
Name string - Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- project str
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- service_
name str - Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- project String
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- service
Name String - Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
getRedis Result
The following output properties are available:
- Additional
Disk stringSpace - Add disk storage in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
- Cloud
Name string - Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (
aws
,azure
,do
google
,upcloud
, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS. - Components
List<Get
Redis Component> - Service component information objects
- Disk
Space string - Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- Disk
Space stringCap - The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- Disk
Space stringDefault - The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for
disk_space
- Disk
Space stringStep - The default disk space step of the service, possible values depend on the service type, the cloud provider and the project.
disk_space
needs to increment fromdisk_space_default
by increments of this size. - Disk
Space stringUsed - Disk space that service is currently using
- Id string
- The provider-assigned unique ID for this managed resource.
- Maintenance
Window stringDow - Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- Maintenance
Window stringTime - Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- Plan string
- Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist
,startup-x
,business-x
andpremium-x
wherex
is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the Aiven pricing page. - Project string
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- Project
Vpc stringId - Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
- Redis
List<Get
Redis Redi> - Redis server provided values
- Redis
User List<GetConfigs Redis Redis User Config> - Redis user configurable settings. Warning: There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
- Service
Host string - The hostname of the service.
- Service
Integrations List<GetRedis Service Integration> - Service integrations to specify when creating a service. Not applied after initial service creation
- Service
Name string - Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- Service
Password string - Password used for connecting to the service, if applicable
- Service
Port int - The port of the service
- Service
Type string - Aiven internal service type code
- Service
Uri string - URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- Service
Username string - Username used for connecting to the service, if applicable
- State string
- Service state. One of
POWEROFF
,REBALANCING
,REBUILDING
orRUNNING
- Static
Ips List<string> - Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
- List<Get
Redis Tag> - Tags are key-value pairs that allow you to categorize services.
- Tech
Emails List<GetRedis Tech Email> - The email addresses for service contacts, who will receive important alerts and updates about this service. You can also set email contacts at the project level.
- Termination
Protection bool - Prevents the service from being deleted. It is recommended to set this to
true
for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
- Additional
Disk stringSpace - Add disk storage in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
- Cloud
Name string - Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (
aws
,azure
,do
google
,upcloud
, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS. - Components
[]Get
Redis Component - Service component information objects
- Disk
Space string - Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- Disk
Space stringCap - The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- Disk
Space stringDefault - The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for
disk_space
- Disk
Space stringStep - The default disk space step of the service, possible values depend on the service type, the cloud provider and the project.
disk_space
needs to increment fromdisk_space_default
by increments of this size. - Disk
Space stringUsed - Disk space that service is currently using
- Id string
- The provider-assigned unique ID for this managed resource.
- Maintenance
Window stringDow - Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- Maintenance
Window stringTime - Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- Plan string
- Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist
,startup-x
,business-x
andpremium-x
wherex
is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the Aiven pricing page. - Project string
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- Project
Vpc stringId - Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
- Redis
[]Get
Redis Redi - Redis server provided values
- Redis
User []GetConfigs Redis Redis User Config - Redis user configurable settings. Warning: There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
- Service
Host string - The hostname of the service.
- Service
Integrations []GetRedis Service Integration - Service integrations to specify when creating a service. Not applied after initial service creation
- Service
Name string - Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- Service
Password string - Password used for connecting to the service, if applicable
- Service
Port int - The port of the service
- Service
Type string - Aiven internal service type code
- Service
Uri string - URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- Service
Username string - Username used for connecting to the service, if applicable
- State string
- Service state. One of
POWEROFF
,REBALANCING
,REBUILDING
orRUNNING
- Static
Ips []string - Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
- []Get
Redis Tag - Tags are key-value pairs that allow you to categorize services.
- Tech
Emails []GetRedis Tech Email - The email addresses for service contacts, who will receive important alerts and updates about this service. You can also set email contacts at the project level.
- Termination
Protection bool - Prevents the service from being deleted. It is recommended to set this to
true
for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
- additional
Disk StringSpace - Add disk storage in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
- cloud
Name String - Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (
aws
,azure
,do
google
,upcloud
, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS. - components
List<Get
Redis Component> - Service component information objects
- disk
Space String - Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- disk
Space StringCap - The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- disk
Space StringDefault - The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for
disk_space
- disk
Space StringStep - The default disk space step of the service, possible values depend on the service type, the cloud provider and the project.
disk_space
needs to increment fromdisk_space_default
by increments of this size. - disk
Space StringUsed - Disk space that service is currently using
- id String
- The provider-assigned unique ID for this managed resource.
- maintenance
Window StringDow - Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- maintenance
Window StringTime - Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- plan String
- Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist
,startup-x
,business-x
andpremium-x
wherex
is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the Aiven pricing page. - project String
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- project
Vpc StringId - Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
- redis
List<Get
Redis Redi> - Redis server provided values
- redis
User List<GetConfigs Redis Redis User Config> - Redis user configurable settings. Warning: There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
- service
Host String - The hostname of the service.
- service
Integrations List<GetRedis Service Integration> - Service integrations to specify when creating a service. Not applied after initial service creation
- service
Name String - Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- service
Password String - Password used for connecting to the service, if applicable
- service
Port Integer - The port of the service
- service
Type String - Aiven internal service type code
- service
Uri String - URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- service
Username String - Username used for connecting to the service, if applicable
- state String
- Service state. One of
POWEROFF
,REBALANCING
,REBUILDING
orRUNNING
- static
Ips List<String> - Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
- List<Get
Redis Tag> - Tags are key-value pairs that allow you to categorize services.
- tech
Emails List<GetRedis Tech Email> - The email addresses for service contacts, who will receive important alerts and updates about this service. You can also set email contacts at the project level.
- termination
Protection Boolean - Prevents the service from being deleted. It is recommended to set this to
true
for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
- additional
Disk stringSpace - Add disk storage in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
- cloud
Name string - Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (
aws
,azure
,do
google
,upcloud
, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS. - components
Get
Redis Component[] - Service component information objects
- disk
Space string - Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- disk
Space stringCap - The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- disk
Space stringDefault - The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for
disk_space
- disk
Space stringStep - The default disk space step of the service, possible values depend on the service type, the cloud provider and the project.
disk_space
needs to increment fromdisk_space_default
by increments of this size. - disk
Space stringUsed - Disk space that service is currently using
- id string
- The provider-assigned unique ID for this managed resource.
- maintenance
Window stringDow - Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- maintenance
Window stringTime - Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- plan string
- Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist
,startup-x
,business-x
andpremium-x
wherex
is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the Aiven pricing page. - project string
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- project
Vpc stringId - Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
- redis
Get
Redis Redi[] - Redis server provided values
- redis
User GetConfigs Redis Redis User Config[] - Redis user configurable settings. Warning: There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
- service
Host string - The hostname of the service.
- service
Integrations GetRedis Service Integration[] - Service integrations to specify when creating a service. Not applied after initial service creation
- service
Name string - Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- service
Password string - Password used for connecting to the service, if applicable
- service
Port number - The port of the service
- service
Type string - Aiven internal service type code
- service
Uri string - URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- service
Username string - Username used for connecting to the service, if applicable
- state string
- Service state. One of
POWEROFF
,REBALANCING
,REBUILDING
orRUNNING
- static
Ips string[] - Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
- Get
Redis Tag[] - Tags are key-value pairs that allow you to categorize services.
- tech
Emails GetRedis Tech Email[] - The email addresses for service contacts, who will receive important alerts and updates about this service. You can also set email contacts at the project level.
- termination
Protection boolean - Prevents the service from being deleted. It is recommended to set this to
true
for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
- additional_
disk_ strspace - Add disk storage in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
- cloud_
name str - Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (
aws
,azure
,do
google
,upcloud
, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS. - components
Sequence[Get
Redis Component] - Service component information objects
- disk_
space str - Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- disk_
space_ strcap - The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- disk_
space_ strdefault - The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for
disk_space
- disk_
space_ strstep - The default disk space step of the service, possible values depend on the service type, the cloud provider and the project.
disk_space
needs to increment fromdisk_space_default
by increments of this size. - disk_
space_ strused - Disk space that service is currently using
- id str
- The provider-assigned unique ID for this managed resource.
- maintenance_
window_ strdow - Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- maintenance_
window_ strtime - Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- plan str
- Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist
,startup-x
,business-x
andpremium-x
wherex
is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the Aiven pricing page. - project str
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- project_
vpc_ strid - Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
- redis
Sequence[Get
Redis Redi] - Redis server provided values
- redis_
user_ Sequence[Getconfigs Redis Redis User Config] - Redis user configurable settings. Warning: There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
- service_
host str - The hostname of the service.
- service_
integrations Sequence[GetRedis Service Integration] - Service integrations to specify when creating a service. Not applied after initial service creation
- service_
name str - Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- service_
password str - Password used for connecting to the service, if applicable
- service_
port int - The port of the service
- service_
type str - Aiven internal service type code
- service_
uri str - URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- service_
username str - Username used for connecting to the service, if applicable
- state str
- Service state. One of
POWEROFF
,REBALANCING
,REBUILDING
orRUNNING
- static_
ips Sequence[str] - Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
- Sequence[Get
Redis Tag] - Tags are key-value pairs that allow you to categorize services.
- tech_
emails Sequence[GetRedis Tech Email] - The email addresses for service contacts, who will receive important alerts and updates about this service. You can also set email contacts at the project level.
- termination_
protection bool - Prevents the service from being deleted. It is recommended to set this to
true
for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
- additional
Disk StringSpace - Add disk storage in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
- cloud
Name String - Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (
aws
,azure
,do
google
,upcloud
, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS. - components List<Property Map>
- Service component information objects
- disk
Space String - Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- disk
Space StringCap - The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- disk
Space StringDefault - The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for
disk_space
- disk
Space StringStep - The default disk space step of the service, possible values depend on the service type, the cloud provider and the project.
disk_space
needs to increment fromdisk_space_default
by increments of this size. - disk
Space StringUsed - Disk space that service is currently using
- id String
- The provider-assigned unique ID for this managed resource.
- maintenance
Window StringDow - Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- maintenance
Window StringTime - Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- plan String
- Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist
,startup-x
,business-x
andpremium-x
wherex
is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the Aiven pricing page. - project String
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- project
Vpc StringId - Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
- redis List<Property Map>
- Redis server provided values
- redis
User List<Property Map>Configs - Redis user configurable settings. Warning: There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
- service
Host String - The hostname of the service.
- service
Integrations List<Property Map> - Service integrations to specify when creating a service. Not applied after initial service creation
- service
Name String - Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- service
Password String - Password used for connecting to the service, if applicable
- service
Port Number - The port of the service
- service
Type String - Aiven internal service type code
- service
Uri String - URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- service
Username String - Username used for connecting to the service, if applicable
- state String
- Service state. One of
POWEROFF
,REBALANCING
,REBUILDING
orRUNNING
- static
Ips List<String> - Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
- List<Property Map>
- Tags are key-value pairs that allow you to categorize services.
- tech
Emails List<Property Map> - The email addresses for service contacts, who will receive important alerts and updates about this service. You can also set email contacts at the project level.
- termination
Protection Boolean - Prevents the service from being deleted. It is recommended to set this to
true
for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
Supporting Types
GetRedisComponent
- Component string
- Service component name
- Connection
Uri string - Connection info for connecting to the service component. This is a combination of host and port.
- Host string
- Host name for connecting to the service component
- Kafka
Authentication stringMethod - Kafka authentication method. This is a value specific to the 'kafka' service component
- Port int
- Port number for connecting to the service component
- Route string
- Network access route
- Ssl bool
- Whether the endpoint is encrypted or accepts plaintext. By default endpoints are always encrypted and this property is only included for service components they may disable encryption
- Usage string
- DNS usage name
- Component string
- Service component name
- Connection
Uri string - Connection info for connecting to the service component. This is a combination of host and port.
- Host string
- Host name for connecting to the service component
- Kafka
Authentication stringMethod - Kafka authentication method. This is a value specific to the 'kafka' service component
- Port int
- Port number for connecting to the service component
- Route string
- Network access route
- Ssl bool
- Whether the endpoint is encrypted or accepts plaintext. By default endpoints are always encrypted and this property is only included for service components they may disable encryption
- Usage string
- DNS usage name
- component String
- Service component name
- connection
Uri String - Connection info for connecting to the service component. This is a combination of host and port.
- host String
- Host name for connecting to the service component
- kafka
Authentication StringMethod - Kafka authentication method. This is a value specific to the 'kafka' service component
- port Integer
- Port number for connecting to the service component
- route String
- Network access route
- ssl Boolean
- Whether the endpoint is encrypted or accepts plaintext. By default endpoints are always encrypted and this property is only included for service components they may disable encryption
- usage String
- DNS usage name
- component string
- Service component name
- connection
Uri string - Connection info for connecting to the service component. This is a combination of host and port.
- host string
- Host name for connecting to the service component
- kafka
Authentication stringMethod - Kafka authentication method. This is a value specific to the 'kafka' service component
- port number
- Port number for connecting to the service component
- route string
- Network access route
- ssl boolean
- Whether the endpoint is encrypted or accepts plaintext. By default endpoints are always encrypted and this property is only included for service components they may disable encryption
- usage string
- DNS usage name
- component str
- Service component name
- connection_
uri str - Connection info for connecting to the service component. This is a combination of host and port.
- host str
- Host name for connecting to the service component
- kafka_
authentication_ strmethod - Kafka authentication method. This is a value specific to the 'kafka' service component
- port int
- Port number for connecting to the service component
- route str
- Network access route
- ssl bool
- Whether the endpoint is encrypted or accepts plaintext. By default endpoints are always encrypted and this property is only included for service components they may disable encryption
- usage str
- DNS usage name
- component String
- Service component name
- connection
Uri String - Connection info for connecting to the service component. This is a combination of host and port.
- host String
- Host name for connecting to the service component
- kafka
Authentication StringMethod - Kafka authentication method. This is a value specific to the 'kafka' service component
- port Number
- Port number for connecting to the service component
- route String
- Network access route
- ssl Boolean
- Whether the endpoint is encrypted or accepts plaintext. By default endpoints are always encrypted and this property is only included for service components they may disable encryption
- usage String
- DNS usage name
GetRedisRedi
- Password string
- Redis password.
- Replica
Uri string - Redis replica server URI.
- Slave
Uris List<string> - Redis slave server URIs.
- Uris List<string>
- Redis server URIs.
- Password string
- Redis password.
- Replica
Uri string - Redis replica server URI.
- Slave
Uris []string - Redis slave server URIs.
- Uris []string
- Redis server URIs.
- password String
- Redis password.
- replica
Uri String - Redis replica server URI.
- slave
Uris List<String> - Redis slave server URIs.
- uris List<String>
- Redis server URIs.
- password string
- Redis password.
- replica
Uri string - Redis replica server URI.
- slave
Uris string[] - Redis slave server URIs.
- uris string[]
- Redis server URIs.
- password str
- Redis password.
- replica_
uri str - Redis replica server URI.
- slave_
uris Sequence[str] - Redis slave server URIs.
- uris Sequence[str]
- Redis server URIs.
- password String
- Redis password.
- replica
Uri String - Redis replica server URI.
- slave
Uris List<String> - Redis slave server URIs.
- uris List<String>
- Redis server URIs.
GetRedisRedisUserConfig
- Additional
Backup stringRegions - Additional Cloud Regions for Backup Replication.
- Backup
Hour int - The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed. Example:
3
. - Backup
Minute int - The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed. Example:
30
. - Ip
Filter List<GetObjects Redis Redis User Config Ip Filter Object> - Allow incoming connections from CIDR address block, e.g.
10.20.0.0/16
- Ip
Filter List<string>Strings - Allow incoming connections from CIDR address block, e.g.
10.20.0.0/16
. - Ip
Filters List<string> - Allow incoming connections from CIDR address block, e.g.
10.20.0.0/16
. - Migration
Get
Redis Redis User Config Migration - Migrate data from existing server
- Private
Access GetRedis Redis User Config Private Access - Allow access to selected service ports from private networks
- Privatelink
Access GetRedis Redis User Config Privatelink Access - Allow access to selected service components through Privatelink
- Project
To stringFork From - Name of another project to fork a service from. This has effect only when a new service is being created. Example:
anotherprojectname
. - Public
Access GetRedis Redis User Config Public Access - Allow access to selected service ports from the public Internet
- Recovery
Basebackup stringName - Name of the basebackup to restore in forked service. Example:
backup-20191112t091354293891z
. - Redis
Acl stringChannels Default - Enum:
allchannels
,resetchannels
. Determines default pub/sub channels' ACL for new users if ACL is not supplied. When this option is not defined, all_channels is assumed to keep backward compatibility. This option doesn't affect Redis configuration acl-pubsub-default. - Redis
Io intThreads - Set Redis IO thread count. Changing this will cause a restart of the Redis service. Example:
1
. - Redis
Lfu intDecay Time - LFU maxmemory-policy counter decay time in minutes. Default:
1
. - Redis
Lfu intLog Factor - Counter logarithm factor for volatile-lfu and allkeys-lfu maxmemory-policies. Default:
10
. - Redis
Maxmemory stringPolicy - Enum:
allkeys-lfu
,allkeys-lru
,allkeys-random
,noeviction
,volatile-lfu
,volatile-lru
,volatile-random
,volatile-ttl
. Redis maxmemory-policy. Default:noeviction
. - Redis
Notify stringKeyspace Events - Set notify-keyspace-events option.
- Redis
Number intOf Databases - Set number of Redis databases. Changing this will cause a restart of the Redis service. Example:
16
. - Redis
Persistence string - Enum:
off
,rdb
. When persistence isrdb
, Redis does RDB dumps each 10 minutes if any key is changed. Also RDB dumps are done according to the backup schedule for backup purposes. When persistence isoff
, no RDB dumps or backups are done, so data can be lost at any moment if the service is restarted for any reason, or if the service is powered off. Also, the service can't be forked. - Redis
Pubsub intClient Output Buffer Limit - Set output buffer limit for pub / sub clients in MB. The value is the hard limit, the soft limit is 1/4 of the hard limit. When setting the limit, be mindful of the available memory in the selected service plan. Example:
64
. - Redis
Ssl bool - Require SSL to access Redis. Default:
true
. - Redis
Timeout int - Redis idle connection timeout in seconds. Default:
300
. - Redis
Version string - Enum:
7.0
, and newer. Redis major version. - Service
Log bool - Store logs for the service so that they are available in the HTTP API and console.
- Service
To stringFork From - Name of another service to fork from. This has effect only when a new service is being created. Example:
anotherservicename
. - Static
Ips bool - Use static public IP addresses.
- Additional
Backup stringRegions - Additional Cloud Regions for Backup Replication.
- Backup
Hour int - The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed. Example:
3
. - Backup
Minute int - The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed. Example:
30
. - Ip
Filter []GetObjects Redis Redis User Config Ip Filter Object - Allow incoming connections from CIDR address block, e.g.
10.20.0.0/16
- Ip
Filter []stringStrings - Allow incoming connections from CIDR address block, e.g.
10.20.0.0/16
. - Ip
Filters []string - Allow incoming connections from CIDR address block, e.g.
10.20.0.0/16
. - Migration
Get
Redis Redis User Config Migration - Migrate data from existing server
- Private
Access GetRedis Redis User Config Private Access - Allow access to selected service ports from private networks
- Privatelink
Access GetRedis Redis User Config Privatelink Access - Allow access to selected service components through Privatelink
- Project
To stringFork From - Name of another project to fork a service from. This has effect only when a new service is being created. Example:
anotherprojectname
. - Public
Access GetRedis Redis User Config Public Access - Allow access to selected service ports from the public Internet
- Recovery
Basebackup stringName - Name of the basebackup to restore in forked service. Example:
backup-20191112t091354293891z
. - Redis
Acl stringChannels Default - Enum:
allchannels
,resetchannels
. Determines default pub/sub channels' ACL for new users if ACL is not supplied. When this option is not defined, all_channels is assumed to keep backward compatibility. This option doesn't affect Redis configuration acl-pubsub-default. - Redis
Io intThreads - Set Redis IO thread count. Changing this will cause a restart of the Redis service. Example:
1
. - Redis
Lfu intDecay Time - LFU maxmemory-policy counter decay time in minutes. Default:
1
. - Redis
Lfu intLog Factor - Counter logarithm factor for volatile-lfu and allkeys-lfu maxmemory-policies. Default:
10
. - Redis
Maxmemory stringPolicy - Enum:
allkeys-lfu
,allkeys-lru
,allkeys-random
,noeviction
,volatile-lfu
,volatile-lru
,volatile-random
,volatile-ttl
. Redis maxmemory-policy. Default:noeviction
. - Redis
Notify stringKeyspace Events - Set notify-keyspace-events option.
- Redis
Number intOf Databases - Set number of Redis databases. Changing this will cause a restart of the Redis service. Example:
16
. - Redis
Persistence string - Enum:
off
,rdb
. When persistence isrdb
, Redis does RDB dumps each 10 minutes if any key is changed. Also RDB dumps are done according to the backup schedule for backup purposes. When persistence isoff
, no RDB dumps or backups are done, so data can be lost at any moment if the service is restarted for any reason, or if the service is powered off. Also, the service can't be forked. - Redis
Pubsub intClient Output Buffer Limit - Set output buffer limit for pub / sub clients in MB. The value is the hard limit, the soft limit is 1/4 of the hard limit. When setting the limit, be mindful of the available memory in the selected service plan. Example:
64
. - Redis
Ssl bool - Require SSL to access Redis. Default:
true
. - Redis
Timeout int - Redis idle connection timeout in seconds. Default:
300
. - Redis
Version string - Enum:
7.0
, and newer. Redis major version. - Service
Log bool - Store logs for the service so that they are available in the HTTP API and console.
- Service
To stringFork From - Name of another service to fork from. This has effect only when a new service is being created. Example:
anotherservicename
. - Static
Ips bool - Use static public IP addresses.
- additional
Backup StringRegions - Additional Cloud Regions for Backup Replication.
- backup
Hour Integer - The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed. Example:
3
. - backup
Minute Integer - The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed. Example:
30
. - ip
Filter List<GetObjects Redis Redis User Config Ip Filter Object> - Allow incoming connections from CIDR address block, e.g.
10.20.0.0/16
- ip
Filter List<String>Strings - Allow incoming connections from CIDR address block, e.g.
10.20.0.0/16
. - ip
Filters List<String> - Allow incoming connections from CIDR address block, e.g.
10.20.0.0/16
. - migration
Get
Redis Redis User Config Migration - Migrate data from existing server
- private
Access GetRedis Redis User Config Private Access - Allow access to selected service ports from private networks
- privatelink
Access GetRedis Redis User Config Privatelink Access - Allow access to selected service components through Privatelink
- project
To StringFork From - Name of another project to fork a service from. This has effect only when a new service is being created. Example:
anotherprojectname
. - public
Access GetRedis Redis User Config Public Access - Allow access to selected service ports from the public Internet
- recovery
Basebackup StringName - Name of the basebackup to restore in forked service. Example:
backup-20191112t091354293891z
. - redis
Acl StringChannels Default - Enum:
allchannels
,resetchannels
. Determines default pub/sub channels' ACL for new users if ACL is not supplied. When this option is not defined, all_channels is assumed to keep backward compatibility. This option doesn't affect Redis configuration acl-pubsub-default. - redis
Io IntegerThreads - Set Redis IO thread count. Changing this will cause a restart of the Redis service. Example:
1
. - redis
Lfu IntegerDecay Time - LFU maxmemory-policy counter decay time in minutes. Default:
1
. - redis
Lfu IntegerLog Factor - Counter logarithm factor for volatile-lfu and allkeys-lfu maxmemory-policies. Default:
10
. - redis
Maxmemory StringPolicy - Enum:
allkeys-lfu
,allkeys-lru
,allkeys-random
,noeviction
,volatile-lfu
,volatile-lru
,volatile-random
,volatile-ttl
. Redis maxmemory-policy. Default:noeviction
. - redis
Notify StringKeyspace Events - Set notify-keyspace-events option.
- redis
Number IntegerOf Databases - Set number of Redis databases. Changing this will cause a restart of the Redis service. Example:
16
. - redis
Persistence String - Enum:
off
,rdb
. When persistence isrdb
, Redis does RDB dumps each 10 minutes if any key is changed. Also RDB dumps are done according to the backup schedule for backup purposes. When persistence isoff
, no RDB dumps or backups are done, so data can be lost at any moment if the service is restarted for any reason, or if the service is powered off. Also, the service can't be forked. - redis
Pubsub IntegerClient Output Buffer Limit - Set output buffer limit for pub / sub clients in MB. The value is the hard limit, the soft limit is 1/4 of the hard limit. When setting the limit, be mindful of the available memory in the selected service plan. Example:
64
. - redis
Ssl Boolean - Require SSL to access Redis. Default:
true
. - redis
Timeout Integer - Redis idle connection timeout in seconds. Default:
300
. - redis
Version String - Enum:
7.0
, and newer. Redis major version. - service
Log Boolean - Store logs for the service so that they are available in the HTTP API and console.
- service
To StringFork From - Name of another service to fork from. This has effect only when a new service is being created. Example:
anotherservicename
. - static
Ips Boolean - Use static public IP addresses.
- additional
Backup stringRegions - Additional Cloud Regions for Backup Replication.
- backup
Hour number - The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed. Example:
3
. - backup
Minute number - The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed. Example:
30
. - ip
Filter GetObjects Redis Redis User Config Ip Filter Object[] - Allow incoming connections from CIDR address block, e.g.
10.20.0.0/16
- ip
Filter string[]Strings - Allow incoming connections from CIDR address block, e.g.
10.20.0.0/16
. - ip
Filters string[] - Allow incoming connections from CIDR address block, e.g.
10.20.0.0/16
. - migration
Get
Redis Redis User Config Migration - Migrate data from existing server
- private
Access GetRedis Redis User Config Private Access - Allow access to selected service ports from private networks
- privatelink
Access GetRedis Redis User Config Privatelink Access - Allow access to selected service components through Privatelink
- project
To stringFork From - Name of another project to fork a service from. This has effect only when a new service is being created. Example:
anotherprojectname
. - public
Access GetRedis Redis User Config Public Access - Allow access to selected service ports from the public Internet
- recovery
Basebackup stringName - Name of the basebackup to restore in forked service. Example:
backup-20191112t091354293891z
. - redis
Acl stringChannels Default - Enum:
allchannels
,resetchannels
. Determines default pub/sub channels' ACL for new users if ACL is not supplied. When this option is not defined, all_channels is assumed to keep backward compatibility. This option doesn't affect Redis configuration acl-pubsub-default. - redis
Io numberThreads - Set Redis IO thread count. Changing this will cause a restart of the Redis service. Example:
1
. - redis
Lfu numberDecay Time - LFU maxmemory-policy counter decay time in minutes. Default:
1
. - redis
Lfu numberLog Factor - Counter logarithm factor for volatile-lfu and allkeys-lfu maxmemory-policies. Default:
10
. - redis
Maxmemory stringPolicy - Enum:
allkeys-lfu
,allkeys-lru
,allkeys-random
,noeviction
,volatile-lfu
,volatile-lru
,volatile-random
,volatile-ttl
. Redis maxmemory-policy. Default:noeviction
. - redis
Notify stringKeyspace Events - Set notify-keyspace-events option.
- redis
Number numberOf Databases - Set number of Redis databases. Changing this will cause a restart of the Redis service. Example:
16
. - redis
Persistence string - Enum:
off
,rdb
. When persistence isrdb
, Redis does RDB dumps each 10 minutes if any key is changed. Also RDB dumps are done according to the backup schedule for backup purposes. When persistence isoff
, no RDB dumps or backups are done, so data can be lost at any moment if the service is restarted for any reason, or if the service is powered off. Also, the service can't be forked. - redis
Pubsub numberClient Output Buffer Limit - Set output buffer limit for pub / sub clients in MB. The value is the hard limit, the soft limit is 1/4 of the hard limit. When setting the limit, be mindful of the available memory in the selected service plan. Example:
64
. - redis
Ssl boolean - Require SSL to access Redis. Default:
true
. - redis
Timeout number - Redis idle connection timeout in seconds. Default:
300
. - redis
Version string - Enum:
7.0
, and newer. Redis major version. - service
Log boolean - Store logs for the service so that they are available in the HTTP API and console.
- service
To stringFork From - Name of another service to fork from. This has effect only when a new service is being created. Example:
anotherservicename
. - static
Ips boolean - Use static public IP addresses.
- additional_
backup_ strregions - Additional Cloud Regions for Backup Replication.
- backup_
hour int - The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed. Example:
3
. - backup_
minute int - The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed. Example:
30
. - ip_
filter_ Sequence[Getobjects Redis Redis User Config Ip Filter Object] - Allow incoming connections from CIDR address block, e.g.
10.20.0.0/16
- ip_
filter_ Sequence[str]strings - Allow incoming connections from CIDR address block, e.g.
10.20.0.0/16
. - ip_
filters Sequence[str] - Allow incoming connections from CIDR address block, e.g.
10.20.0.0/16
. - migration
Get
Redis Redis User Config Migration - Migrate data from existing server
- private_
access GetRedis Redis User Config Private Access - Allow access to selected service ports from private networks
- privatelink_
access GetRedis Redis User Config Privatelink Access - Allow access to selected service components through Privatelink
- project_
to_ strfork_ from - Name of another project to fork a service from. This has effect only when a new service is being created. Example:
anotherprojectname
. - public_
access GetRedis Redis User Config Public Access - Allow access to selected service ports from the public Internet
- recovery_
basebackup_ strname - Name of the basebackup to restore in forked service. Example:
backup-20191112t091354293891z
. - redis_
acl_ strchannels_ default - Enum:
allchannels
,resetchannels
. Determines default pub/sub channels' ACL for new users if ACL is not supplied. When this option is not defined, all_channels is assumed to keep backward compatibility. This option doesn't affect Redis configuration acl-pubsub-default. - redis_
io_ intthreads - Set Redis IO thread count. Changing this will cause a restart of the Redis service. Example:
1
. - redis_
lfu_ intdecay_ time - LFU maxmemory-policy counter decay time in minutes. Default:
1
. - redis_
lfu_ intlog_ factor - Counter logarithm factor for volatile-lfu and allkeys-lfu maxmemory-policies. Default:
10
. - redis_
maxmemory_ strpolicy - Enum:
allkeys-lfu
,allkeys-lru
,allkeys-random
,noeviction
,volatile-lfu
,volatile-lru
,volatile-random
,volatile-ttl
. Redis maxmemory-policy. Default:noeviction
. - redis_
notify_ strkeyspace_ events - Set notify-keyspace-events option.
- redis_
number_ intof_ databases - Set number of Redis databases. Changing this will cause a restart of the Redis service. Example:
16
. - redis_
persistence str - Enum:
off
,rdb
. When persistence isrdb
, Redis does RDB dumps each 10 minutes if any key is changed. Also RDB dumps are done according to the backup schedule for backup purposes. When persistence isoff
, no RDB dumps or backups are done, so data can be lost at any moment if the service is restarted for any reason, or if the service is powered off. Also, the service can't be forked. - redis_
pubsub_ intclient_ output_ buffer_ limit - Set output buffer limit for pub / sub clients in MB. The value is the hard limit, the soft limit is 1/4 of the hard limit. When setting the limit, be mindful of the available memory in the selected service plan. Example:
64
. - redis_
ssl bool - Require SSL to access Redis. Default:
true
. - redis_
timeout int - Redis idle connection timeout in seconds. Default:
300
. - redis_
version str - Enum:
7.0
, and newer. Redis major version. - service_
log bool - Store logs for the service so that they are available in the HTTP API and console.
- service_
to_ strfork_ from - Name of another service to fork from. This has effect only when a new service is being created. Example:
anotherservicename
. - static_
ips bool - Use static public IP addresses.
- additional
Backup StringRegions - Additional Cloud Regions for Backup Replication.
- backup
Hour Number - The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed. Example:
3
. - backup
Minute Number - The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed. Example:
30
. - ip
Filter List<Property Map>Objects - Allow incoming connections from CIDR address block, e.g.
10.20.0.0/16
- ip
Filter List<String>Strings - Allow incoming connections from CIDR address block, e.g.
10.20.0.0/16
. - ip
Filters List<String> - Allow incoming connections from CIDR address block, e.g.
10.20.0.0/16
. - migration Property Map
- Migrate data from existing server
- private
Access Property Map - Allow access to selected service ports from private networks
- privatelink
Access Property Map - Allow access to selected service components through Privatelink
- project
To StringFork From - Name of another project to fork a service from. This has effect only when a new service is being created. Example:
anotherprojectname
. - public
Access Property Map - Allow access to selected service ports from the public Internet
- recovery
Basebackup StringName - Name of the basebackup to restore in forked service. Example:
backup-20191112t091354293891z
. - redis
Acl StringChannels Default - Enum:
allchannels
,resetchannels
. Determines default pub/sub channels' ACL for new users if ACL is not supplied. When this option is not defined, all_channels is assumed to keep backward compatibility. This option doesn't affect Redis configuration acl-pubsub-default. - redis
Io NumberThreads - Set Redis IO thread count. Changing this will cause a restart of the Redis service. Example:
1
. - redis
Lfu NumberDecay Time - LFU maxmemory-policy counter decay time in minutes. Default:
1
. - redis
Lfu NumberLog Factor - Counter logarithm factor for volatile-lfu and allkeys-lfu maxmemory-policies. Default:
10
. - redis
Maxmemory StringPolicy - Enum:
allkeys-lfu
,allkeys-lru
,allkeys-random
,noeviction
,volatile-lfu
,volatile-lru
,volatile-random
,volatile-ttl
. Redis maxmemory-policy. Default:noeviction
. - redis
Notify StringKeyspace Events - Set notify-keyspace-events option.
- redis
Number NumberOf Databases - Set number of Redis databases. Changing this will cause a restart of the Redis service. Example:
16
. - redis
Persistence String - Enum:
off
,rdb
. When persistence isrdb
, Redis does RDB dumps each 10 minutes if any key is changed. Also RDB dumps are done according to the backup schedule for backup purposes. When persistence isoff
, no RDB dumps or backups are done, so data can be lost at any moment if the service is restarted for any reason, or if the service is powered off. Also, the service can't be forked. - redis
Pubsub NumberClient Output Buffer Limit - Set output buffer limit for pub / sub clients in MB. The value is the hard limit, the soft limit is 1/4 of the hard limit. When setting the limit, be mindful of the available memory in the selected service plan. Example:
64
. - redis
Ssl Boolean - Require SSL to access Redis. Default:
true
. - redis
Timeout Number - Redis idle connection timeout in seconds. Default:
300
. - redis
Version String - Enum:
7.0
, and newer. Redis major version. - service
Log Boolean - Store logs for the service so that they are available in the HTTP API and console.
- service
To StringFork From - Name of another service to fork from. This has effect only when a new service is being created. Example:
anotherservicename
. - static
Ips Boolean - Use static public IP addresses.
GetRedisRedisUserConfigIpFilterObject
- Network string
- CIDR address block. Example:
10.20.0.0/16
. - Description string
- Description for IP filter list entry. Example:
Production service IP range
.
- Network string
- CIDR address block. Example:
10.20.0.0/16
. - Description string
- Description for IP filter list entry. Example:
Production service IP range
.
- network String
- CIDR address block. Example:
10.20.0.0/16
. - description String
- Description for IP filter list entry. Example:
Production service IP range
.
- network string
- CIDR address block. Example:
10.20.0.0/16
. - description string
- Description for IP filter list entry. Example:
Production service IP range
.
- network str
- CIDR address block. Example:
10.20.0.0/16
. - description str
- Description for IP filter list entry. Example:
Production service IP range
.
- network String
- CIDR address block. Example:
10.20.0.0/16
. - description String
- Description for IP filter list entry. Example:
Production service IP range
.
GetRedisRedisUserConfigMigration
- Host string
- Hostname or IP address of the server where to migrate data from. Example:
my.server.com
. - Port int
- Port number of the server where to migrate data from. Example:
1234
. - Dbname string
- Database name for bootstrapping the initial connection. Example:
defaultdb
. - Ignore
Dbs string - Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment). Example:
db1,db2
. - Ignore
Roles string - Comma-separated list of database roles, which should be ignored during migration (supported by PostgreSQL only at the moment). Example:
role1,role2
. - Method string
- Enum:
dump
,replication
. The migration method to be used (currently supported only by Redis, Dragonfly, MySQL and PostgreSQL service types). - Password string
- Password for authentication with the server where to migrate data from. Example:
jjKk45Nnd
. - Ssl bool
- The server where to migrate data from is secured with SSL. Default:
true
. - Username string
- User name for authentication with the server where to migrate data from. Example:
myname
.
- Host string
- Hostname or IP address of the server where to migrate data from. Example:
my.server.com
. - Port int
- Port number of the server where to migrate data from. Example:
1234
. - Dbname string
- Database name for bootstrapping the initial connection. Example:
defaultdb
. - Ignore
Dbs string - Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment). Example:
db1,db2
. - Ignore
Roles string - Comma-separated list of database roles, which should be ignored during migration (supported by PostgreSQL only at the moment). Example:
role1,role2
. - Method string
- Enum:
dump
,replication
. The migration method to be used (currently supported only by Redis, Dragonfly, MySQL and PostgreSQL service types). - Password string
- Password for authentication with the server where to migrate data from. Example:
jjKk45Nnd
. - Ssl bool
- The server where to migrate data from is secured with SSL. Default:
true
. - Username string
- User name for authentication with the server where to migrate data from. Example:
myname
.
- host String
- Hostname or IP address of the server where to migrate data from. Example:
my.server.com
. - port Integer
- Port number of the server where to migrate data from. Example:
1234
. - dbname String
- Database name for bootstrapping the initial connection. Example:
defaultdb
. - ignore
Dbs String - Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment). Example:
db1,db2
. - ignore
Roles String - Comma-separated list of database roles, which should be ignored during migration (supported by PostgreSQL only at the moment). Example:
role1,role2
. - method String
- Enum:
dump
,replication
. The migration method to be used (currently supported only by Redis, Dragonfly, MySQL and PostgreSQL service types). - password String
- Password for authentication with the server where to migrate data from. Example:
jjKk45Nnd
. - ssl Boolean
- The server where to migrate data from is secured with SSL. Default:
true
. - username String
- User name for authentication with the server where to migrate data from. Example:
myname
.
- host string
- Hostname or IP address of the server where to migrate data from. Example:
my.server.com
. - port number
- Port number of the server where to migrate data from. Example:
1234
. - dbname string
- Database name for bootstrapping the initial connection. Example:
defaultdb
. - ignore
Dbs string - Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment). Example:
db1,db2
. - ignore
Roles string - Comma-separated list of database roles, which should be ignored during migration (supported by PostgreSQL only at the moment). Example:
role1,role2
. - method string
- Enum:
dump
,replication
. The migration method to be used (currently supported only by Redis, Dragonfly, MySQL and PostgreSQL service types). - password string
- Password for authentication with the server where to migrate data from. Example:
jjKk45Nnd
. - ssl boolean
- The server where to migrate data from is secured with SSL. Default:
true
. - username string
- User name for authentication with the server where to migrate data from. Example:
myname
.
- host str
- Hostname or IP address of the server where to migrate data from. Example:
my.server.com
. - port int
- Port number of the server where to migrate data from. Example:
1234
. - dbname str
- Database name for bootstrapping the initial connection. Example:
defaultdb
. - ignore_
dbs str - Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment). Example:
db1,db2
. - ignore_
roles str - Comma-separated list of database roles, which should be ignored during migration (supported by PostgreSQL only at the moment). Example:
role1,role2
. - method str
- Enum:
dump
,replication
. The migration method to be used (currently supported only by Redis, Dragonfly, MySQL and PostgreSQL service types). - password str
- Password for authentication with the server where to migrate data from. Example:
jjKk45Nnd
. - ssl bool
- The server where to migrate data from is secured with SSL. Default:
true
. - username str
- User name for authentication with the server where to migrate data from. Example:
myname
.
- host String
- Hostname or IP address of the server where to migrate data from. Example:
my.server.com
. - port Number
- Port number of the server where to migrate data from. Example:
1234
. - dbname String
- Database name for bootstrapping the initial connection. Example:
defaultdb
. - ignore
Dbs String - Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment). Example:
db1,db2
. - ignore
Roles String - Comma-separated list of database roles, which should be ignored during migration (supported by PostgreSQL only at the moment). Example:
role1,role2
. - method String
- Enum:
dump
,replication
. The migration method to be used (currently supported only by Redis, Dragonfly, MySQL and PostgreSQL service types). - password String
- Password for authentication with the server where to migrate data from. Example:
jjKk45Nnd
. - ssl Boolean
- The server where to migrate data from is secured with SSL. Default:
true
. - username String
- User name for authentication with the server where to migrate data from. Example:
myname
.
GetRedisRedisUserConfigPrivateAccess
- Prometheus bool
- Allow clients to connect to prometheus with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations.
- Redis bool
- Allow clients to connect to redis with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations.
- Prometheus bool
- Allow clients to connect to prometheus with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations.
- Redis bool
- Allow clients to connect to redis with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations.
- prometheus Boolean
- Allow clients to connect to prometheus with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations.
- redis Boolean
- Allow clients to connect to redis with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations.
- prometheus boolean
- Allow clients to connect to prometheus with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations.
- redis boolean
- Allow clients to connect to redis with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations.
- prometheus bool
- Allow clients to connect to prometheus with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations.
- redis bool
- Allow clients to connect to redis with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations.
- prometheus Boolean
- Allow clients to connect to prometheus with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations.
- redis Boolean
- Allow clients to connect to redis with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations.
GetRedisRedisUserConfigPrivatelinkAccess
- Prometheus bool
- Enable prometheus.
- Redis bool
- Enable redis.
- Prometheus bool
- Enable prometheus.
- Redis bool
- Enable redis.
- prometheus Boolean
- Enable prometheus.
- redis Boolean
- Enable redis.
- prometheus boolean
- Enable prometheus.
- redis boolean
- Enable redis.
- prometheus bool
- Enable prometheus.
- redis bool
- Enable redis.
- prometheus Boolean
- Enable prometheus.
- redis Boolean
- Enable redis.
GetRedisRedisUserConfigPublicAccess
- Prometheus bool
- Allow clients to connect to prometheus from the public internet for service nodes that are in a project VPC or another type of private network.
- Redis bool
- Allow clients to connect to redis from the public internet for service nodes that are in a project VPC or another type of private network.
- Prometheus bool
- Allow clients to connect to prometheus from the public internet for service nodes that are in a project VPC or another type of private network.
- Redis bool
- Allow clients to connect to redis from the public internet for service nodes that are in a project VPC or another type of private network.
- prometheus Boolean
- Allow clients to connect to prometheus from the public internet for service nodes that are in a project VPC or another type of private network.
- redis Boolean
- Allow clients to connect to redis from the public internet for service nodes that are in a project VPC or another type of private network.
- prometheus boolean
- Allow clients to connect to prometheus from the public internet for service nodes that are in a project VPC or another type of private network.
- redis boolean
- Allow clients to connect to redis from the public internet for service nodes that are in a project VPC or another type of private network.
- prometheus bool
- Allow clients to connect to prometheus from the public internet for service nodes that are in a project VPC or another type of private network.
- redis bool
- Allow clients to connect to redis from the public internet for service nodes that are in a project VPC or another type of private network.
- prometheus Boolean
- Allow clients to connect to prometheus from the public internet for service nodes that are in a project VPC or another type of private network.
- redis Boolean
- Allow clients to connect to redis from the public internet for service nodes that are in a project VPC or another type of private network.
GetRedisServiceIntegration
- Integration
Type string - Type of the service integration. The only supported value at the moment is
read_replica
- Source
Service stringName - Name of the source service
- Integration
Type string - Type of the service integration. The only supported value at the moment is
read_replica
- Source
Service stringName - Name of the source service
- integration
Type String - Type of the service integration. The only supported value at the moment is
read_replica
- source
Service StringName - Name of the source service
- integration
Type string - Type of the service integration. The only supported value at the moment is
read_replica
- source
Service stringName - Name of the source service
- integration_
type str - Type of the service integration. The only supported value at the moment is
read_replica
- source_
service_ strname - Name of the source service
- integration
Type String - Type of the service integration. The only supported value at the moment is
read_replica
- source
Service StringName - Name of the source service
GetRedisTag
GetRedisTechEmail
- Email string
- An email address to contact for technical issues
- Email string
- An email address to contact for technical issues
- email String
- An email address to contact for technical issues
- email string
- An email address to contact for technical issues
- email str
- An email address to contact for technical issues
- email String
- An email address to contact for technical issues
Package Details
- Repository
- Aiven pulumi/pulumi-aiven
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aiven
Terraform Provider.