1. Packages
  2. DanubeData
  3. API Docs
  4. Cache
DanubeData v0.1.7 published on Sunday, Feb 1, 2026 by AdrianSilaghi
danubedata logo
DanubeData v0.1.7 published on Sunday, Feb 1, 2026 by AdrianSilaghi

    # danubedata.Cache

    Manages an in-memory cache instance (Redis, Valkey, or Dragonfly).

    Example Usage

    Redis Cache

    import * as pulumi from "@pulumi/pulumi";
    import * as danubedata from "@danubedata/pulumi";
    
    const redis = new danubedata.Cache("redis", {
        cacheProvider: "redis",
        memorySizeMb: 512,
        cpuCores: 1,
        datacenter: "fsn1",
        version: "7.2",
    });
    export const redisEndpoint = redis.endpoint;
    
    import pulumi
    import pulumi_danubedata as danubedata
    
    redis = danubedata.Cache("redis",
        cache_provider="redis",
        memory_size_mb=512,
        cpu_cores=1,
        datacenter="fsn1",
        version="7.2")
    pulumi.export("redisEndpoint", redis.endpoint)
    
    package main
    
    import (
    	"github.com/AdrianSilaghi/pulumi-danubedata/sdk/go/danubedata"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		redis, err := danubedata.NewCache(ctx, "redis", &danubedata.CacheArgs{
    			CacheProvider: pulumi.String("redis"),
    			MemorySizeMb:  pulumi.Int(512),
    			CpuCores:      pulumi.Int(1),
    			Datacenter:    pulumi.String("fsn1"),
    			Version:       pulumi.String("7.2"),
    		})
    		if err != nil {
    			return err
    		}
    		ctx.Export("redisEndpoint", redis.Endpoint)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using DanubeData = DanubeData.DanubeData;
    
    return await Deployment.RunAsync(() => 
    {
        var redis = new DanubeData.Cache("redis", new()
        {
            CacheProvider = "redis",
            MemorySizeMb = 512,
            CpuCores = 1,
            Datacenter = "fsn1",
            Version = "7.2",
        });
    
        return new Dictionary<string, object?>
        {
            ["redisEndpoint"] = redis.Endpoint,
        };
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.danubedata.Cache;
    import com.pulumi.danubedata.CacheArgs;
    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) {
            var redis = new Cache("redis", CacheArgs.builder()
                .cacheProvider("redis")
                .memorySizeMb(512)
                .cpuCores(1)
                .datacenter("fsn1")
                .version("7.2")
                .build());
    
            ctx.export("redisEndpoint", redis.endpoint());
        }
    }
    
    resources:
      redis:
        type: danubedata:Cache
        properties:
          cacheProvider: redis
          memorySizeMb: 512
          cpuCores: 1
          datacenter: fsn1
          version: '7.2'
    outputs:
      redisEndpoint: ${redis.endpoint}
    

    Valkey Cache (Redis Fork)

    import * as pulumi from "@pulumi/pulumi";
    import * as danubedata from "@danubedata/pulumi";
    
    const valkey = new danubedata.Cache("valkey", {
        cacheProvider: "valkey",
        cpuCores: 2,
        datacenter: "fsn1",
        memorySizeMb: 1024,
    });
    
    import pulumi
    import pulumi_danubedata as danubedata
    
    valkey = danubedata.Cache("valkey",
        cache_provider="valkey",
        cpu_cores=2,
        datacenter="fsn1",
        memory_size_mb=1024)
    
    package main
    
    import (
    	"github.com/AdrianSilaghi/pulumi-danubedata/sdk/go/danubedata"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := danubedata.NewCache(ctx, "valkey", &danubedata.CacheArgs{
    			CacheProvider: pulumi.String("valkey"),
    			CpuCores:      pulumi.Int(2),
    			Datacenter:    pulumi.String("fsn1"),
    			MemorySizeMb:  pulumi.Int(1024),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using DanubeData = DanubeData.DanubeData;
    
    return await Deployment.RunAsync(() => 
    {
        var valkey = new DanubeData.Cache("valkey", new()
        {
            CacheProvider = "valkey",
            CpuCores = 2,
            Datacenter = "fsn1",
            MemorySizeMb = 1024,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.danubedata.Cache;
    import com.pulumi.danubedata.CacheArgs;
    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) {
            var valkey = new Cache("valkey", CacheArgs.builder()
                .cacheProvider("valkey")
                .cpuCores(2)
                .datacenter("fsn1")
                .memorySizeMb(1024)
                .build());
    
        }
    }
    
    resources:
      valkey:
        type: danubedata:Cache
        properties:
          cacheProvider: valkey
          cpuCores: 2
          datacenter: fsn1
          memorySizeMb: 1024
    

    Dragonfly Cache (High Performance)

    import * as pulumi from "@pulumi/pulumi";
    import * as danubedata from "@danubedata/pulumi";
    
    const dragonfly = new danubedata.Cache("dragonfly", {
        cacheProvider: "dragonfly",
        cpuCores: 4,
        datacenter: "fsn1",
        memorySizeMb: 2048,
    });
    
    import pulumi
    import pulumi_danubedata as danubedata
    
    dragonfly = danubedata.Cache("dragonfly",
        cache_provider="dragonfly",
        cpu_cores=4,
        datacenter="fsn1",
        memory_size_mb=2048)
    
    package main
    
    import (
    	"github.com/AdrianSilaghi/pulumi-danubedata/sdk/go/danubedata"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := danubedata.NewCache(ctx, "dragonfly", &danubedata.CacheArgs{
    			CacheProvider: pulumi.String("dragonfly"),
    			CpuCores:      pulumi.Int(4),
    			Datacenter:    pulumi.String("fsn1"),
    			MemorySizeMb:  pulumi.Int(2048),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using DanubeData = DanubeData.DanubeData;
    
    return await Deployment.RunAsync(() => 
    {
        var dragonfly = new DanubeData.Cache("dragonfly", new()
        {
            CacheProvider = "dragonfly",
            CpuCores = 4,
            Datacenter = "fsn1",
            MemorySizeMb = 2048,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.danubedata.Cache;
    import com.pulumi.danubedata.CacheArgs;
    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) {
            var dragonfly = new Cache("dragonfly", CacheArgs.builder()
                .cacheProvider("dragonfly")
                .cpuCores(4)
                .datacenter("fsn1")
                .memorySizeMb(2048)
                .build());
    
        }
    }
    
    resources:
      dragonfly:
        type: danubedata:Cache
        properties:
          cacheProvider: dragonfly
          cpuCores: 4
          datacenter: fsn1
          memorySizeMb: 2048
    

    Using Resource Profile

    import * as pulumi from "@pulumi/pulumi";
    import * as danubedata from "@danubedata/pulumi";
    
    const standard = new danubedata.Cache("standard", {
        resourceProfile: "cache-medium",
        datacenter: "fsn1",
    }, {
        provider: "redis",
    });
    
    import pulumi
    import pulumi_danubedata as danubedata
    
    standard = danubedata.Cache("standard",
        resource_profile="cache-medium",
        datacenter="fsn1",
        opts = pulumi.ResourceOptions(provider="redis"))
    
    package main
    
    import (
    	"github.com/AdrianSilaghi/pulumi-danubedata/sdk/go/danubedata"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := danubedata.NewCache(ctx, "standard", &danubedata.CacheArgs{
    			ResourceProfile: pulumi.String("cache-medium"),
    			Datacenter:      pulumi.String("fsn1"),
    		}, pulumi.Provider("redis"))
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using DanubeData = DanubeData.DanubeData;
    
    return await Deployment.RunAsync(() => 
    {
        var standard = new DanubeData.Cache("standard", new()
        {
            ResourceProfile = "cache-medium",
            Datacenter = "fsn1",
        }, new CustomResourceOptions
        {
            Provider = "redis",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.danubedata.Cache;
    import com.pulumi.danubedata.CacheArgs;
    import com.pulumi.resources.CustomResourceOptions;
    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) {
            var standard = new Cache("standard", CacheArgs.builder()
                .resourceProfile("cache-medium")
                .datacenter("fsn1")
                .build(), CustomResourceOptions.builder()
                    .provider("redis")
                    .build());
    
        }
    }
    
    resources:
      standard:
        type: danubedata:Cache
        properties:
          resourceProfile: cache-medium
          datacenter: fsn1
        options:
          provider: redis
    

    Create Cache Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new Cache(name: string, args: CacheArgs, opts?: CustomResourceOptions);
    @overload
    def Cache(resource_name: str,
              args: CacheArgs,
              opts: Optional[ResourceOptions] = None)
    
    @overload
    def Cache(resource_name: str,
              opts: Optional[ResourceOptions] = None,
              cache_provider: Optional[str] = None,
              datacenter: Optional[str] = None,
              resource_profile: Optional[str] = None,
              cpu_cores: Optional[int] = None,
              memory_size_mb: Optional[int] = None,
              name: Optional[str] = None,
              parameter_group_id: Optional[str] = None,
              timeouts: Optional[CacheTimeoutsArgs] = None,
              version: Optional[str] = None)
    func NewCache(ctx *Context, name string, args CacheArgs, opts ...ResourceOption) (*Cache, error)
    public Cache(string name, CacheArgs args, CustomResourceOptions? opts = null)
    public Cache(String name, CacheArgs args)
    public Cache(String name, CacheArgs args, CustomResourceOptions options)
    
    type: danubedata:Cache
    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 CacheArgs
    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 CacheArgs
    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 CacheArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args CacheArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args CacheArgs
    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 cacheResource = new DanubeData.Cache("cacheResource", new()
    {
        CacheProvider = "string",
        Datacenter = "string",
        ResourceProfile = "string",
        CpuCores = 0,
        MemorySizeMb = 0,
        Name = "string",
        ParameterGroupId = "string",
        Timeouts = new DanubeData.Inputs.CacheTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
        Version = "string",
    });
    
    example, err := danubedata.NewCache(ctx, "cacheResource", &danubedata.CacheArgs{
    	CacheProvider:    pulumi.String("string"),
    	Datacenter:       pulumi.String("string"),
    	ResourceProfile:  pulumi.String("string"),
    	CpuCores:         pulumi.Int(0),
    	MemorySizeMb:     pulumi.Int(0),
    	Name:             pulumi.String("string"),
    	ParameterGroupId: pulumi.String("string"),
    	Timeouts: &danubedata.CacheTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    	Version: pulumi.String("string"),
    })
    
    var cacheResource = new Cache("cacheResource", CacheArgs.builder()
        .cacheProvider("string")
        .datacenter("string")
        .resourceProfile("string")
        .cpuCores(0)
        .memorySizeMb(0)
        .name("string")
        .parameterGroupId("string")
        .timeouts(CacheTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .version("string")
        .build());
    
    cache_resource = danubedata.Cache("cacheResource",
        cache_provider="string",
        datacenter="string",
        resource_profile="string",
        cpu_cores=0,
        memory_size_mb=0,
        name="string",
        parameter_group_id="string",
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        },
        version="string")
    
    const cacheResource = new danubedata.Cache("cacheResource", {
        cacheProvider: "string",
        datacenter: "string",
        resourceProfile: "string",
        cpuCores: 0,
        memorySizeMb: 0,
        name: "string",
        parameterGroupId: "string",
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
        version: "string",
    });
    
    type: danubedata:Cache
    properties:
        cacheProvider: string
        cpuCores: 0
        datacenter: string
        memorySizeMb: 0
        name: string
        parameterGroupId: string
        resourceProfile: string
        timeouts:
            create: string
            delete: string
            update: string
        version: string
    

    Cache 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 Cache resource accepts the following input properties:

    CacheProvider string
    Cache provider type (redis, valkey, dragonfly).
    Datacenter string
    Datacenter location (ash, fsn1, nbg1, hel1).
    ResourceProfile string
    Resource profile for the cache (micro, small, medium, large).
    CpuCores int
    Number of CPU cores. If not specified, determined by resource_profile.
    MemorySizeMb int
    Memory size in MB. If not specified, determined by resource_profile.
    Name string
    Name of the cache instance.
    ParameterGroupId string
    ID of the parameter group to use for custom configuration.
    Timeouts DanubeData.DanubeData.Inputs.CacheTimeouts
    Version string
    Version of the cache software.
    CacheProvider string
    Cache provider type (redis, valkey, dragonfly).
    Datacenter string
    Datacenter location (ash, fsn1, nbg1, hel1).
    ResourceProfile string
    Resource profile for the cache (micro, small, medium, large).
    CpuCores int
    Number of CPU cores. If not specified, determined by resource_profile.
    MemorySizeMb int
    Memory size in MB. If not specified, determined by resource_profile.
    Name string
    Name of the cache instance.
    ParameterGroupId string
    ID of the parameter group to use for custom configuration.
    Timeouts CacheTimeoutsArgs
    Version string
    Version of the cache software.
    cacheProvider String
    Cache provider type (redis, valkey, dragonfly).
    datacenter String
    Datacenter location (ash, fsn1, nbg1, hel1).
    resourceProfile String
    Resource profile for the cache (micro, small, medium, large).
    cpuCores Integer
    Number of CPU cores. If not specified, determined by resource_profile.
    memorySizeMb Integer
    Memory size in MB. If not specified, determined by resource_profile.
    name String
    Name of the cache instance.
    parameterGroupId String
    ID of the parameter group to use for custom configuration.
    timeouts CacheTimeouts
    version String
    Version of the cache software.
    cacheProvider string
    Cache provider type (redis, valkey, dragonfly).
    datacenter string
    Datacenter location (ash, fsn1, nbg1, hel1).
    resourceProfile string
    Resource profile for the cache (micro, small, medium, large).
    cpuCores number
    Number of CPU cores. If not specified, determined by resource_profile.
    memorySizeMb number
    Memory size in MB. If not specified, determined by resource_profile.
    name string
    Name of the cache instance.
    parameterGroupId string
    ID of the parameter group to use for custom configuration.
    timeouts CacheTimeouts
    version string
    Version of the cache software.
    cache_provider str
    Cache provider type (redis, valkey, dragonfly).
    datacenter str
    Datacenter location (ash, fsn1, nbg1, hel1).
    resource_profile str
    Resource profile for the cache (micro, small, medium, large).
    cpu_cores int
    Number of CPU cores. If not specified, determined by resource_profile.
    memory_size_mb int
    Memory size in MB. If not specified, determined by resource_profile.
    name str
    Name of the cache instance.
    parameter_group_id str
    ID of the parameter group to use for custom configuration.
    timeouts CacheTimeoutsArgs
    version str
    Version of the cache software.
    cacheProvider String
    Cache provider type (redis, valkey, dragonfly).
    datacenter String
    Datacenter location (ash, fsn1, nbg1, hel1).
    resourceProfile String
    Resource profile for the cache (micro, small, medium, large).
    cpuCores Number
    Number of CPU cores. If not specified, determined by resource_profile.
    memorySizeMb Number
    Memory size in MB. If not specified, determined by resource_profile.
    name String
    Name of the cache instance.
    parameterGroupId String
    ID of the parameter group to use for custom configuration.
    timeouts Property Map
    version String
    Version of the cache software.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the Cache resource produces the following output properties:

    CreatedAt string
    Creation timestamp.
    DeployedAt string
    Deployment timestamp.
    Endpoint string
    Connection endpoint hostname.
    Id string
    The provider-assigned unique ID for this managed resource.
    MonthlyCost double
    Estimated monthly cost.
    MonthlyCostCents int
    Monthly cost in cents.
    Port int
    Connection port.
    Status string
    Current status.
    UpdatedAt string
    Timestamp when the cache instance was last updated.
    CreatedAt string
    Creation timestamp.
    DeployedAt string
    Deployment timestamp.
    Endpoint string
    Connection endpoint hostname.
    Id string
    The provider-assigned unique ID for this managed resource.
    MonthlyCost float64
    Estimated monthly cost.
    MonthlyCostCents int
    Monthly cost in cents.
    Port int
    Connection port.
    Status string
    Current status.
    UpdatedAt string
    Timestamp when the cache instance was last updated.
    createdAt String
    Creation timestamp.
    deployedAt String
    Deployment timestamp.
    endpoint String
    Connection endpoint hostname.
    id String
    The provider-assigned unique ID for this managed resource.
    monthlyCost Double
    Estimated monthly cost.
    monthlyCostCents Integer
    Monthly cost in cents.
    port Integer
    Connection port.
    status String
    Current status.
    updatedAt String
    Timestamp when the cache instance was last updated.
    createdAt string
    Creation timestamp.
    deployedAt string
    Deployment timestamp.
    endpoint string
    Connection endpoint hostname.
    id string
    The provider-assigned unique ID for this managed resource.
    monthlyCost number
    Estimated monthly cost.
    monthlyCostCents number
    Monthly cost in cents.
    port number
    Connection port.
    status string
    Current status.
    updatedAt string
    Timestamp when the cache instance was last updated.
    created_at str
    Creation timestamp.
    deployed_at str
    Deployment timestamp.
    endpoint str
    Connection endpoint hostname.
    id str
    The provider-assigned unique ID for this managed resource.
    monthly_cost float
    Estimated monthly cost.
    monthly_cost_cents int
    Monthly cost in cents.
    port int
    Connection port.
    status str
    Current status.
    updated_at str
    Timestamp when the cache instance was last updated.
    createdAt String
    Creation timestamp.
    deployedAt String
    Deployment timestamp.
    endpoint String
    Connection endpoint hostname.
    id String
    The provider-assigned unique ID for this managed resource.
    monthlyCost Number
    Estimated monthly cost.
    monthlyCostCents Number
    Monthly cost in cents.
    port Number
    Connection port.
    status String
    Current status.
    updatedAt String
    Timestamp when the cache instance was last updated.

    Look up Existing Cache Resource

    Get an existing Cache 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?: CacheState, opts?: CustomResourceOptions): Cache
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cache_provider: Optional[str] = None,
            cpu_cores: Optional[int] = None,
            created_at: Optional[str] = None,
            datacenter: Optional[str] = None,
            deployed_at: Optional[str] = None,
            endpoint: Optional[str] = None,
            memory_size_mb: Optional[int] = None,
            monthly_cost: Optional[float] = None,
            monthly_cost_cents: Optional[int] = None,
            name: Optional[str] = None,
            parameter_group_id: Optional[str] = None,
            port: Optional[int] = None,
            resource_profile: Optional[str] = None,
            status: Optional[str] = None,
            timeouts: Optional[CacheTimeoutsArgs] = None,
            updated_at: Optional[str] = None,
            version: Optional[str] = None) -> Cache
    func GetCache(ctx *Context, name string, id IDInput, state *CacheState, opts ...ResourceOption) (*Cache, error)
    public static Cache Get(string name, Input<string> id, CacheState? state, CustomResourceOptions? opts = null)
    public static Cache get(String name, Output<String> id, CacheState state, CustomResourceOptions options)
    resources:  _:    type: danubedata:Cache    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.
    The following state arguments are supported:
    CacheProvider string
    Cache provider type (redis, valkey, dragonfly).
    CpuCores int
    Number of CPU cores. If not specified, determined by resource_profile.
    CreatedAt string
    Creation timestamp.
    Datacenter string
    Datacenter location (ash, fsn1, nbg1, hel1).
    DeployedAt string
    Deployment timestamp.
    Endpoint string
    Connection endpoint hostname.
    MemorySizeMb int
    Memory size in MB. If not specified, determined by resource_profile.
    MonthlyCost double
    Estimated monthly cost.
    MonthlyCostCents int
    Monthly cost in cents.
    Name string
    Name of the cache instance.
    ParameterGroupId string
    ID of the parameter group to use for custom configuration.
    Port int
    Connection port.
    ResourceProfile string
    Resource profile for the cache (micro, small, medium, large).
    Status string
    Current status.
    Timeouts DanubeData.DanubeData.Inputs.CacheTimeouts
    UpdatedAt string
    Timestamp when the cache instance was last updated.
    Version string
    Version of the cache software.
    CacheProvider string
    Cache provider type (redis, valkey, dragonfly).
    CpuCores int
    Number of CPU cores. If not specified, determined by resource_profile.
    CreatedAt string
    Creation timestamp.
    Datacenter string
    Datacenter location (ash, fsn1, nbg1, hel1).
    DeployedAt string
    Deployment timestamp.
    Endpoint string
    Connection endpoint hostname.
    MemorySizeMb int
    Memory size in MB. If not specified, determined by resource_profile.
    MonthlyCost float64
    Estimated monthly cost.
    MonthlyCostCents int
    Monthly cost in cents.
    Name string
    Name of the cache instance.
    ParameterGroupId string
    ID of the parameter group to use for custom configuration.
    Port int
    Connection port.
    ResourceProfile string
    Resource profile for the cache (micro, small, medium, large).
    Status string
    Current status.
    Timeouts CacheTimeoutsArgs
    UpdatedAt string
    Timestamp when the cache instance was last updated.
    Version string
    Version of the cache software.
    cacheProvider String
    Cache provider type (redis, valkey, dragonfly).
    cpuCores Integer
    Number of CPU cores. If not specified, determined by resource_profile.
    createdAt String
    Creation timestamp.
    datacenter String
    Datacenter location (ash, fsn1, nbg1, hel1).
    deployedAt String
    Deployment timestamp.
    endpoint String
    Connection endpoint hostname.
    memorySizeMb Integer
    Memory size in MB. If not specified, determined by resource_profile.
    monthlyCost Double
    Estimated monthly cost.
    monthlyCostCents Integer
    Monthly cost in cents.
    name String
    Name of the cache instance.
    parameterGroupId String
    ID of the parameter group to use for custom configuration.
    port Integer
    Connection port.
    resourceProfile String
    Resource profile for the cache (micro, small, medium, large).
    status String
    Current status.
    timeouts CacheTimeouts
    updatedAt String
    Timestamp when the cache instance was last updated.
    version String
    Version of the cache software.
    cacheProvider string
    Cache provider type (redis, valkey, dragonfly).
    cpuCores number
    Number of CPU cores. If not specified, determined by resource_profile.
    createdAt string
    Creation timestamp.
    datacenter string
    Datacenter location (ash, fsn1, nbg1, hel1).
    deployedAt string
    Deployment timestamp.
    endpoint string
    Connection endpoint hostname.
    memorySizeMb number
    Memory size in MB. If not specified, determined by resource_profile.
    monthlyCost number
    Estimated monthly cost.
    monthlyCostCents number
    Monthly cost in cents.
    name string
    Name of the cache instance.
    parameterGroupId string
    ID of the parameter group to use for custom configuration.
    port number
    Connection port.
    resourceProfile string
    Resource profile for the cache (micro, small, medium, large).
    status string
    Current status.
    timeouts CacheTimeouts
    updatedAt string
    Timestamp when the cache instance was last updated.
    version string
    Version of the cache software.
    cache_provider str
    Cache provider type (redis, valkey, dragonfly).
    cpu_cores int
    Number of CPU cores. If not specified, determined by resource_profile.
    created_at str
    Creation timestamp.
    datacenter str
    Datacenter location (ash, fsn1, nbg1, hel1).
    deployed_at str
    Deployment timestamp.
    endpoint str
    Connection endpoint hostname.
    memory_size_mb int
    Memory size in MB. If not specified, determined by resource_profile.
    monthly_cost float
    Estimated monthly cost.
    monthly_cost_cents int
    Monthly cost in cents.
    name str
    Name of the cache instance.
    parameter_group_id str
    ID of the parameter group to use for custom configuration.
    port int
    Connection port.
    resource_profile str
    Resource profile for the cache (micro, small, medium, large).
    status str
    Current status.
    timeouts CacheTimeoutsArgs
    updated_at str
    Timestamp when the cache instance was last updated.
    version str
    Version of the cache software.
    cacheProvider String
    Cache provider type (redis, valkey, dragonfly).
    cpuCores Number
    Number of CPU cores. If not specified, determined by resource_profile.
    createdAt String
    Creation timestamp.
    datacenter String
    Datacenter location (ash, fsn1, nbg1, hel1).
    deployedAt String
    Deployment timestamp.
    endpoint String
    Connection endpoint hostname.
    memorySizeMb Number
    Memory size in MB. If not specified, determined by resource_profile.
    monthlyCost Number
    Estimated monthly cost.
    monthlyCostCents Number
    Monthly cost in cents.
    name String
    Name of the cache instance.
    parameterGroupId String
    ID of the parameter group to use for custom configuration.
    port Number
    Connection port.
    resourceProfile String
    Resource profile for the cache (micro, small, medium, large).
    status String
    Current status.
    timeouts Property Map
    updatedAt String
    Timestamp when the cache instance was last updated.
    version String
    Version of the cache software.

    Supporting Types

    CacheTimeouts, CacheTimeoutsArgs

    Create string
    Time to wait for cache creation.
    Delete string
    Time to wait for cache deletion.
    Update string
    Time to wait for cache updates.
    Create string
    Time to wait for cache creation.
    Delete string
    Time to wait for cache deletion.
    Update string
    Time to wait for cache updates.
    create String
    Time to wait for cache creation.
    delete String
    Time to wait for cache deletion.
    update String
    Time to wait for cache updates.
    create string
    Time to wait for cache creation.
    delete string
    Time to wait for cache deletion.
    update string
    Time to wait for cache updates.
    create str
    Time to wait for cache creation.
    delete str
    Time to wait for cache deletion.
    update str
    Time to wait for cache updates.
    create String
    Time to wait for cache creation.
    delete String
    Time to wait for cache deletion.
    update String
    Time to wait for cache updates.

    Import

    Cache instances can be imported using their ID:

    bash

    $ pulumi import danubedata:index/cache:Cache example cache-abc123
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    danubedata AdrianSilaghi/pulumi-danubedata
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the danubedata Terraform Provider.
    danubedata logo
    DanubeData v0.1.7 published on Sunday, Feb 1, 2026 by AdrianSilaghi
      Meet Neo: Your AI Platform Teammate