# 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)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:
- Cache
Provider string - Cache provider type (redis, valkey, dragonfly).
- Datacenter string
- Datacenter location (ash, fsn1, nbg1, hel1).
- Resource
Profile string - 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 intMb - Memory size in MB. If not specified, determined by resource_profile.
- Name string
- Name of the cache instance.
- Parameter
Group stringId - ID of the parameter group to use for custom configuration.
- Timeouts
Danube
Data. Danube Data. Inputs. Cache Timeouts - Version string
- Version of the cache software.
- Cache
Provider string - Cache provider type (redis, valkey, dragonfly).
- Datacenter string
- Datacenter location (ash, fsn1, nbg1, hel1).
- Resource
Profile string - 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 intMb - Memory size in MB. If not specified, determined by resource_profile.
- Name string
- Name of the cache instance.
- Parameter
Group stringId - ID of the parameter group to use for custom configuration.
- Timeouts
Cache
Timeouts Args - Version string
- Version of the cache software.
- cache
Provider String - Cache provider type (redis, valkey, dragonfly).
- datacenter String
- Datacenter location (ash, fsn1, nbg1, hel1).
- resource
Profile String - Resource profile for the cache (micro, small, medium, large).
- cpu
Cores Integer - Number of CPU cores. If not specified, determined by resource_profile.
- memory
Size IntegerMb - Memory size in MB. If not specified, determined by resource_profile.
- name String
- Name of the cache instance.
- parameter
Group StringId - ID of the parameter group to use for custom configuration.
- timeouts
Cache
Timeouts - version String
- Version of the cache software.
- cache
Provider string - Cache provider type (redis, valkey, dragonfly).
- datacenter string
- Datacenter location (ash, fsn1, nbg1, hel1).
- resource
Profile string - Resource profile for the cache (micro, small, medium, large).
- cpu
Cores number - Number of CPU cores. If not specified, determined by resource_profile.
- memory
Size numberMb - Memory size in MB. If not specified, determined by resource_profile.
- name string
- Name of the cache instance.
- parameter
Group stringId - ID of the parameter group to use for custom configuration.
- timeouts
Cache
Timeouts - 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_ intmb - Memory size in MB. If not specified, determined by resource_profile.
- name str
- Name of the cache instance.
- parameter_
group_ strid - ID of the parameter group to use for custom configuration.
- timeouts
Cache
Timeouts Args - version str
- Version of the cache software.
- cache
Provider String - Cache provider type (redis, valkey, dragonfly).
- datacenter String
- Datacenter location (ash, fsn1, nbg1, hel1).
- resource
Profile String - Resource profile for the cache (micro, small, medium, large).
- cpu
Cores Number - Number of CPU cores. If not specified, determined by resource_profile.
- memory
Size NumberMb - Memory size in MB. If not specified, determined by resource_profile.
- name String
- Name of the cache instance.
- parameter
Group StringId - 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:
- Created
At string - Creation timestamp.
- Deployed
At string - Deployment timestamp.
- Endpoint string
- Connection endpoint hostname.
- Id string
- The provider-assigned unique ID for this managed resource.
- Monthly
Cost double - Estimated monthly cost.
- Monthly
Cost intCents - Monthly cost in cents.
- Port int
- Connection port.
- Status string
- Current status.
- Updated
At string - Timestamp when the cache instance was last updated.
- Created
At string - Creation timestamp.
- Deployed
At string - Deployment timestamp.
- Endpoint string
- Connection endpoint hostname.
- Id string
- The provider-assigned unique ID for this managed resource.
- Monthly
Cost float64 - Estimated monthly cost.
- Monthly
Cost intCents - Monthly cost in cents.
- Port int
- Connection port.
- Status string
- Current status.
- Updated
At string - Timestamp when the cache instance was last updated.
- created
At String - Creation timestamp.
- deployed
At String - Deployment timestamp.
- endpoint String
- Connection endpoint hostname.
- id String
- The provider-assigned unique ID for this managed resource.
- monthly
Cost Double - Estimated monthly cost.
- monthly
Cost IntegerCents - Monthly cost in cents.
- port Integer
- Connection port.
- status String
- Current status.
- updated
At String - Timestamp when the cache instance was last updated.
- created
At string - Creation timestamp.
- deployed
At string - Deployment timestamp.
- endpoint string
- Connection endpoint hostname.
- id string
- The provider-assigned unique ID for this managed resource.
- monthly
Cost number - Estimated monthly cost.
- monthly
Cost numberCents - Monthly cost in cents.
- port number
- Connection port.
- status string
- Current status.
- updated
At 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_ intcents - Monthly cost in cents.
- port int
- Connection port.
- status str
- Current status.
- updated_
at str - Timestamp when the cache instance was last updated.
- created
At String - Creation timestamp.
- deployed
At String - Deployment timestamp.
- endpoint String
- Connection endpoint hostname.
- id String
- The provider-assigned unique ID for this managed resource.
- monthly
Cost Number - Estimated monthly cost.
- monthly
Cost NumberCents - Monthly cost in cents.
- port Number
- Connection port.
- status String
- Current status.
- updated
At 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) -> Cachefunc 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.
- Cache
Provider string - Cache provider type (redis, valkey, dragonfly).
- Cpu
Cores int - Number of CPU cores. If not specified, determined by resource_profile.
- Created
At string - Creation timestamp.
- Datacenter string
- Datacenter location (ash, fsn1, nbg1, hel1).
- Deployed
At string - Deployment timestamp.
- Endpoint string
- Connection endpoint hostname.
- Memory
Size intMb - Memory size in MB. If not specified, determined by resource_profile.
- Monthly
Cost double - Estimated monthly cost.
- Monthly
Cost intCents - Monthly cost in cents.
- Name string
- Name of the cache instance.
- Parameter
Group stringId - ID of the parameter group to use for custom configuration.
- Port int
- Connection port.
- Resource
Profile string - Resource profile for the cache (micro, small, medium, large).
- Status string
- Current status.
- Timeouts
Danube
Data. Danube Data. Inputs. Cache Timeouts - Updated
At string - Timestamp when the cache instance was last updated.
- Version string
- Version of the cache software.
- Cache
Provider string - Cache provider type (redis, valkey, dragonfly).
- Cpu
Cores int - Number of CPU cores. If not specified, determined by resource_profile.
- Created
At string - Creation timestamp.
- Datacenter string
- Datacenter location (ash, fsn1, nbg1, hel1).
- Deployed
At string - Deployment timestamp.
- Endpoint string
- Connection endpoint hostname.
- Memory
Size intMb - Memory size in MB. If not specified, determined by resource_profile.
- Monthly
Cost float64 - Estimated monthly cost.
- Monthly
Cost intCents - Monthly cost in cents.
- Name string
- Name of the cache instance.
- Parameter
Group stringId - ID of the parameter group to use for custom configuration.
- Port int
- Connection port.
- Resource
Profile string - Resource profile for the cache (micro, small, medium, large).
- Status string
- Current status.
- Timeouts
Cache
Timeouts Args - Updated
At string - Timestamp when the cache instance was last updated.
- Version string
- Version of the cache software.
- cache
Provider String - Cache provider type (redis, valkey, dragonfly).
- cpu
Cores Integer - Number of CPU cores. If not specified, determined by resource_profile.
- created
At String - Creation timestamp.
- datacenter String
- Datacenter location (ash, fsn1, nbg1, hel1).
- deployed
At String - Deployment timestamp.
- endpoint String
- Connection endpoint hostname.
- memory
Size IntegerMb - Memory size in MB. If not specified, determined by resource_profile.
- monthly
Cost Double - Estimated monthly cost.
- monthly
Cost IntegerCents - Monthly cost in cents.
- name String
- Name of the cache instance.
- parameter
Group StringId - ID of the parameter group to use for custom configuration.
- port Integer
- Connection port.
- resource
Profile String - Resource profile for the cache (micro, small, medium, large).
- status String
- Current status.
- timeouts
Cache
Timeouts - updated
At String - Timestamp when the cache instance was last updated.
- version String
- Version of the cache software.
- cache
Provider string - Cache provider type (redis, valkey, dragonfly).
- cpu
Cores number - Number of CPU cores. If not specified, determined by resource_profile.
- created
At string - Creation timestamp.
- datacenter string
- Datacenter location (ash, fsn1, nbg1, hel1).
- deployed
At string - Deployment timestamp.
- endpoint string
- Connection endpoint hostname.
- memory
Size numberMb - Memory size in MB. If not specified, determined by resource_profile.
- monthly
Cost number - Estimated monthly cost.
- monthly
Cost numberCents - Monthly cost in cents.
- name string
- Name of the cache instance.
- parameter
Group stringId - ID of the parameter group to use for custom configuration.
- port number
- Connection port.
- resource
Profile string - Resource profile for the cache (micro, small, medium, large).
- status string
- Current status.
- timeouts
Cache
Timeouts - updated
At 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_ intmb - Memory size in MB. If not specified, determined by resource_profile.
- monthly_
cost float - Estimated monthly cost.
- monthly_
cost_ intcents - Monthly cost in cents.
- name str
- Name of the cache instance.
- parameter_
group_ strid - 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
Cache
Timeouts Args - updated_
at str - Timestamp when the cache instance was last updated.
- version str
- Version of the cache software.
- cache
Provider String - Cache provider type (redis, valkey, dragonfly).
- cpu
Cores Number - Number of CPU cores. If not specified, determined by resource_profile.
- created
At String - Creation timestamp.
- datacenter String
- Datacenter location (ash, fsn1, nbg1, hel1).
- deployed
At String - Deployment timestamp.
- endpoint String
- Connection endpoint hostname.
- memory
Size NumberMb - Memory size in MB. If not specified, determined by resource_profile.
- monthly
Cost Number - Estimated monthly cost.
- monthly
Cost NumberCents - Monthly cost in cents.
- name String
- Name of the cache instance.
- parameter
Group StringId - ID of the parameter group to use for custom configuration.
- port Number
- Connection port.
- resource
Profile String - Resource profile for the cache (micro, small, medium, large).
- status String
- Current status.
- timeouts Property Map
- updated
At String - Timestamp when the cache instance was last updated.
- version String
- Version of the cache software.
Supporting Types
CacheTimeouts, CacheTimeoutsArgs
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
danubedataTerraform Provider.
