Viewing docs for IonosCloud v0.3.2
published on Wednesday, Jul 15, 2026 by ionos-cloud
published on Wednesday, Jul 15, 2026 by ionos-cloud
Viewing docs for IonosCloud v0.3.2
published on Wednesday, Jul 15, 2026 by ionos-cloud
published on Wednesday, Jul 15, 2026 by ionos-cloud
The ionoscloud.dbaas.getInMemoryDBClustersV2 data source can be used to retrieve information about existing InMemoryDB V2 clusters in a given location, with an optional name filter.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ionoscloud from "@ionos-cloud/sdk-pulumi";
const all = ionoscloud.dbaas.getInMemoryDBClustersV2({
location: "de/txl",
});
const filtered = ionoscloud.dbaas.getInMemoryDBClustersV2({
location: "de/txl",
name: "my-cluster",
});
import pulumi
import pulumi_ionoscloud as ionoscloud
all = ionoscloud.dbaas.get_in_memory_db_clusters_v2(location="de/txl")
filtered = ionoscloud.dbaas.get_in_memory_db_clusters_v2(location="de/txl",
name="my-cluster")
package main
import (
"github.com/ionos-cloud/pulumi-ionoscloud/sdk/go/ionoscloud/dbaas"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := dbaas.GetInMemoryDBClustersV2(ctx, &dbaas.GetInMemoryDBClustersV2Args{
Location: "de/txl",
}, nil)
if err != nil {
return err
}
_, err = dbaas.GetInMemoryDBClustersV2(ctx, &dbaas.GetInMemoryDBClustersV2Args{
Location: "de/txl",
Name: pulumi.StringRef("my-cluster"),
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ionoscloud = Ionoscloud.Pulumi.Ionoscloud;
return await Deployment.RunAsync(() =>
{
var all = Ionoscloud.Dbaas.GetInMemoryDBClustersV2.Invoke(new()
{
Location = "de/txl",
});
var filtered = Ionoscloud.Dbaas.GetInMemoryDBClustersV2.Invoke(new()
{
Location = "de/txl",
Name = "my-cluster",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ionoscloud.dbaas.DbaasFunctions;
import com.pulumi.ionoscloud.dbaas.inputs.GetInMemoryDBClustersV2Args;
import java.util.ArrayList;
import java.util.Arrays;
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 all = DbaasFunctions.getInMemoryDBClustersV2(GetInMemoryDBClustersV2Args.builder()
.location("de/txl")
.build());
final var filtered = DbaasFunctions.getInMemoryDBClustersV2(GetInMemoryDBClustersV2Args.builder()
.location("de/txl")
.name("my-cluster")
.build());
}
}
variables:
all:
fn::invoke:
function: ionoscloud:dbaas:getInMemoryDBClustersV2
arguments:
location: de/txl
filtered:
fn::invoke:
function: ionoscloud:dbaas:getInMemoryDBClustersV2
arguments:
location: de/txl
name: my-cluster
pulumi {
required_providers {
ionoscloud = {
source = "pulumi/ionoscloud"
}
}
}
data "ionoscloud_dbaas_getinmemorydbclustersv2" "all" {
location = "de/txl"
}
data "ionoscloud_dbaas_getinmemorydbclustersv2" "filtered" {
location = "de/txl"
name = "my-cluster"
}
Using getInMemoryDBClustersV2
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 getInMemoryDBClustersV2(args: GetInMemoryDBClustersV2Args, opts?: InvokeOptions): Promise<GetInMemoryDBClustersV2Result>
function getInMemoryDBClustersV2Output(args: GetInMemoryDBClustersV2OutputArgs, opts?: InvokeOutputOptions): Output<GetInMemoryDBClustersV2Result>def get_in_memory_db_clusters_v2(location: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetInMemoryDBClustersV2Result
def get_in_memory_db_clusters_v2_output(location: pulumi.Input[Optional[str]] = None,
name: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetInMemoryDBClustersV2Result]func GetInMemoryDBClustersV2(ctx *Context, args *GetInMemoryDBClustersV2Args, opts ...InvokeOption) (*GetInMemoryDBClustersV2Result, error)
func GetInMemoryDBClustersV2Output(ctx *Context, args *GetInMemoryDBClustersV2OutputArgs, opts ...InvokeOption) GetInMemoryDBClustersV2ResultOutput> Note: This function is named GetInMemoryDBClustersV2 in the Go SDK.
public static class GetInMemoryDBClustersV2
{
public static Task<GetInMemoryDBClustersV2Result> InvokeAsync(GetInMemoryDBClustersV2Args args, InvokeOptions? opts = null)
public static Output<GetInMemoryDBClustersV2Result> Invoke(GetInMemoryDBClustersV2InvokeArgs args, InvokeOptions? opts = null)
public static Output<GetInMemoryDBClustersV2Result> Invoke(GetInMemoryDBClustersV2InvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetInMemoryDBClustersV2Result> getInMemoryDBClustersV2(GetInMemoryDBClustersV2Args args, InvokeOptions options)
public static Output<GetInMemoryDBClustersV2Result> getInMemoryDBClustersV2(GetInMemoryDBClustersV2Args args, InvokeOptions options)
public static Output<GetInMemoryDBClustersV2Result> getInMemoryDBClustersV2(GetInMemoryDBClustersV2Args args, InvokeOutputOptions options)
fn::invoke:
function: ionoscloud:dbaas/getInMemoryDBClustersV2:getInMemoryDBClustersV2
arguments:
# arguments dictionarydata "ionoscloud_dbaas_get_in_memory_d_b_clusters_v2" "name" {
# arguments
}The following arguments are supported:
getInMemoryDBClustersV2 Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
List<Ionoscloud.
Get In Memory DBClusters V2Item> - List of clusters. Each item exposes the same attributes as the ionoscloud.dbaas.InMemoryDBClusterV2 data source. Note that
credentials.passwordis not available — onlycredentials.usernameis returned by the API. - Location string
- Name string
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
[]Get
In Memory DBClusters V2Item - List of clusters. Each item exposes the same attributes as the ionoscloud.dbaas.InMemoryDBClusterV2 data source. Note that
credentials.passwordis not available — onlycredentials.usernameis returned by the API. - Location string
- Name string
- id string
- The provider-assigned unique ID for this managed resource.
- items list(object)
- List of clusters. Each item exposes the same attributes as the ionoscloud.dbaas.InMemoryDBClusterV2 data source. Note that
credentials.passwordis not available — onlycredentials.usernameis returned by the API. - location string
- name string
- id String
- The provider-assigned unique ID for this managed resource.
- items
List<Get
In Memory DBClusters V2Item> - List of clusters. Each item exposes the same attributes as the ionoscloud.dbaas.InMemoryDBClusterV2 data source. Note that
credentials.passwordis not available — onlycredentials.usernameis returned by the API. - location String
- name String
- id string
- The provider-assigned unique ID for this managed resource.
- items
Get
In Memory DBClusters V2Item[] - List of clusters. Each item exposes the same attributes as the ionoscloud.dbaas.InMemoryDBClusterV2 data source. Note that
credentials.passwordis not available — onlycredentials.usernameis returned by the API. - location string
- name string
- id str
- The provider-assigned unique ID for this managed resource.
- items
Sequence[Get
In Memory DBClusters V2Item] - List of clusters. Each item exposes the same attributes as the ionoscloud.dbaas.InMemoryDBClusterV2 data source. Note that
credentials.passwordis not available — onlycredentials.usernameis returned by the API. - location str
- name str
- id String
- The provider-assigned unique ID for this managed resource.
- items List<Property Map>
- List of clusters. Each item exposes the same attributes as the ionoscloud.dbaas.InMemoryDBClusterV2 data source. Note that
credentials.passwordis not available — onlycredentials.usernameis returned by the API. - location String
- name String
Supporting Types
GetInMemoryDBClustersV2Item
- Connections
Ionoscloud.
Get In Memory DBClusters V2Item Connections - Network connection configuration for the cluster.
- Credentials
Ionoscloud.
Get In Memory DBClusters V2Item Credentials - Credentials for the user with access to the cluster.
- Description string
- Human-readable description for the cluster.
- Dns
Name string - The DNS name used to connect to the cluster's primary instance.
- Eviction
Policy string - The key eviction strategy.
- Id string
- The ID (UUID) of the cluster.
- Instances
Ionoscloud.
Get In Memory DBClusters V2Item Instances - Compute configuration for each instance. Storage size is automatically derived from RAM and persistence mode.
- Location string
- [string] The location to query.
- Logs
Enabled bool - Whether log collection is enabled.
- Maintenance
Window Ionoscloud.Get In Memory DBClusters V2Item Maintenance Window - A weekly 4-hour maintenance window.
- Metrics
Enabled bool - Whether metrics collection is enabled.
- Name string
- [string] Filter by name (case-insensitive contains match).
- Persistence
Mode string - The data persistence mode.
- Snapshot
Ionoscloud.
Get In Memory DBClusters V2Item Snapshot - Snapshot storage and retention configuration.
- Version string
- The In-Memory DB version.
- Connections
Get
In Memory DBClusters V2Item Connections - Network connection configuration for the cluster.
- Credentials
Get
In Memory DBClusters V2Item Credentials - Credentials for the user with access to the cluster.
- Description string
- Human-readable description for the cluster.
- Dns
Name string - The DNS name used to connect to the cluster's primary instance.
- Eviction
Policy string - The key eviction strategy.
- Id string
- The ID (UUID) of the cluster.
- Instances
Get
In Memory DBClusters V2Item Instances - Compute configuration for each instance. Storage size is automatically derived from RAM and persistence mode.
- Location string
- [string] The location to query.
- Logs
Enabled bool - Whether log collection is enabled.
- Maintenance
Window GetIn Memory DBClusters V2Item Maintenance Window - A weekly 4-hour maintenance window.
- Metrics
Enabled bool - Whether metrics collection is enabled.
- Name string
- [string] Filter by name (case-insensitive contains match).
- Persistence
Mode string - The data persistence mode.
- Snapshot
Get
In Memory DBClusters V2Item Snapshot - Snapshot storage and retention configuration.
- Version string
- The In-Memory DB version.
- connections object
- Network connection configuration for the cluster.
- credentials object
- Credentials for the user with access to the cluster.
- description string
- Human-readable description for the cluster.
- dns_
name string - The DNS name used to connect to the cluster's primary instance.
- eviction_
policy string - The key eviction strategy.
- id string
- The ID (UUID) of the cluster.
- instances object
- Compute configuration for each instance. Storage size is automatically derived from RAM and persistence mode.
- location string
- [string] The location to query.
- logs_
enabled bool - Whether log collection is enabled.
- maintenance_
window object - A weekly 4-hour maintenance window.
- metrics_
enabled bool - Whether metrics collection is enabled.
- name string
- [string] Filter by name (case-insensitive contains match).
- persistence_
mode string - The data persistence mode.
- snapshot object
- Snapshot storage and retention configuration.
- version string
- The In-Memory DB version.
- connections
Get
In Memory DBClusters V2Item Connections - Network connection configuration for the cluster.
- credentials
Get
In Memory DBClusters V2Item Credentials - Credentials for the user with access to the cluster.
- description String
- Human-readable description for the cluster.
- dns
Name String - The DNS name used to connect to the cluster's primary instance.
- eviction
Policy String - The key eviction strategy.
- id String
- The ID (UUID) of the cluster.
- instances
Get
In Memory DBClusters V2Item Instances - Compute configuration for each instance. Storage size is automatically derived from RAM and persistence mode.
- location String
- [string] The location to query.
- logs
Enabled Boolean - Whether log collection is enabled.
- maintenance
Window GetIn Memory DBClusters V2Item Maintenance Window - A weekly 4-hour maintenance window.
- metrics
Enabled Boolean - Whether metrics collection is enabled.
- name String
- [string] Filter by name (case-insensitive contains match).
- persistence
Mode String - The data persistence mode.
- snapshot
Get
In Memory DBClusters V2Item Snapshot - Snapshot storage and retention configuration.
- version String
- The In-Memory DB version.
- connections
Get
In Memory DBClusters V2Item Connections - Network connection configuration for the cluster.
- credentials
Get
In Memory DBClusters V2Item Credentials - Credentials for the user with access to the cluster.
- description string
- Human-readable description for the cluster.
- dns
Name string - The DNS name used to connect to the cluster's primary instance.
- eviction
Policy string - The key eviction strategy.
- id string
- The ID (UUID) of the cluster.
- instances
Get
In Memory DBClusters V2Item Instances - Compute configuration for each instance. Storage size is automatically derived from RAM and persistence mode.
- location string
- [string] The location to query.
- logs
Enabled boolean - Whether log collection is enabled.
- maintenance
Window GetIn Memory DBClusters V2Item Maintenance Window - A weekly 4-hour maintenance window.
- metrics
Enabled boolean - Whether metrics collection is enabled.
- name string
- [string] Filter by name (case-insensitive contains match).
- persistence
Mode string - The data persistence mode.
- snapshot
Get
In Memory DBClusters V2Item Snapshot - Snapshot storage and retention configuration.
- version string
- The In-Memory DB version.
- connections
Get
In Memory DBClusters V2Item Connections - Network connection configuration for the cluster.
- credentials
Get
In Memory DBClusters V2Item Credentials - Credentials for the user with access to the cluster.
- description str
- Human-readable description for the cluster.
- dns_
name str - The DNS name used to connect to the cluster's primary instance.
- eviction_
policy str - The key eviction strategy.
- id str
- The ID (UUID) of the cluster.
- instances
Get
In Memory DBClusters V2Item Instances - Compute configuration for each instance. Storage size is automatically derived from RAM and persistence mode.
- location str
- [string] The location to query.
- logs_
enabled bool - Whether log collection is enabled.
- maintenance_
window GetIn Memory DBClusters V2Item Maintenance Window - A weekly 4-hour maintenance window.
- metrics_
enabled bool - Whether metrics collection is enabled.
- name str
- [string] Filter by name (case-insensitive contains match).
- persistence_
mode str - The data persistence mode.
- snapshot
Get
In Memory DBClusters V2Item Snapshot - Snapshot storage and retention configuration.
- version str
- The In-Memory DB version.
- connections Property Map
- Network connection configuration for the cluster.
- credentials Property Map
- Credentials for the user with access to the cluster.
- description String
- Human-readable description for the cluster.
- dns
Name String - The DNS name used to connect to the cluster's primary instance.
- eviction
Policy String - The key eviction strategy.
- id String
- The ID (UUID) of the cluster.
- instances Property Map
- Compute configuration for each instance. Storage size is automatically derived from RAM and persistence mode.
- location String
- [string] The location to query.
- logs
Enabled Boolean - Whether log collection is enabled.
- maintenance
Window Property Map - A weekly 4-hour maintenance window.
- metrics
Enabled Boolean - Whether metrics collection is enabled.
- name String
- [string] Filter by name (case-insensitive contains match).
- persistence
Mode String - The data persistence mode.
- snapshot Property Map
- Snapshot storage and retention configuration.
- version String
- The In-Memory DB version.
GetInMemoryDBClustersV2ItemConnections
- Datacenter
Id string - The Virtual Data Center ID.
- Lan
Id string - The numeric LAN ID.
- Primary
Instance stringAddress - The IP address and subnet mask in CIDR notation.
- Datacenter
Id string - The Virtual Data Center ID.
- Lan
Id string - The numeric LAN ID.
- Primary
Instance stringAddress - The IP address and subnet mask in CIDR notation.
- datacenter_
id string - The Virtual Data Center ID.
- lan_
id string - The numeric LAN ID.
- primary_
instance_ stringaddress - The IP address and subnet mask in CIDR notation.
- datacenter
Id String - The Virtual Data Center ID.
- lan
Id String - The numeric LAN ID.
- primary
Instance StringAddress - The IP address and subnet mask in CIDR notation.
- datacenter
Id string - The Virtual Data Center ID.
- lan
Id string - The numeric LAN ID.
- primary
Instance stringAddress - The IP address and subnet mask in CIDR notation.
- datacenter_
id str - The Virtual Data Center ID.
- lan_
id str - The numeric LAN ID.
- primary_
instance_ straddress - The IP address and subnet mask in CIDR notation.
- datacenter
Id String - The Virtual Data Center ID.
- lan
Id String - The numeric LAN ID.
- primary
Instance StringAddress - The IP address and subnet mask in CIDR notation.
GetInMemoryDBClustersV2ItemCredentials
- Username string
- The username for the In-Memory DB user.
- Username string
- The username for the In-Memory DB user.
- username string
- The username for the In-Memory DB user.
- username String
- The username for the In-Memory DB user.
- username string
- The username for the In-Memory DB user.
- username str
- The username for the In-Memory DB user.
- username String
- The username for the In-Memory DB user.
GetInMemoryDBClustersV2ItemInstances
GetInMemoryDBClustersV2ItemMaintenanceWindow
- Day
Of stringThe Week - Day of the week.
- Time string
- Start time in UTC (HH:MM:SS).
- Day
Of stringThe Week - Day of the week.
- Time string
- Start time in UTC (HH:MM:SS).
- day_
of_ stringthe_ week - Day of the week.
- time string
- Start time in UTC (HH:MM:SS).
- day
Of StringThe Week - Day of the week.
- time String
- Start time in UTC (HH:MM:SS).
- day
Of stringThe Week - Day of the week.
- time string
- Start time in UTC (HH:MM:SS).
- day_
of_ strthe_ week - Day of the week.
- time str
- Start time in UTC (HH:MM:SS).
- day
Of StringThe Week - Day of the week.
- time String
- Start time in UTC (HH:MM:SS).
GetInMemoryDBClustersV2ItemSnapshot
- Location string
- [string] The location to query.
- Retention
Days int - Number of days snapshots are retained.
- Snapshot
Hours List<int> - UTC hours at which snapshots are taken.
- Location string
- [string] The location to query.
- Retention
Days int - Number of days snapshots are retained.
- Snapshot
Hours []int - UTC hours at which snapshots are taken.
- location string
- [string] The location to query.
- retention_
days number - Number of days snapshots are retained.
- snapshot_
hours list(number) - UTC hours at which snapshots are taken.
- location String
- [string] The location to query.
- retention
Days Integer - Number of days snapshots are retained.
- snapshot
Hours List<Integer> - UTC hours at which snapshots are taken.
- location string
- [string] The location to query.
- retention
Days number - Number of days snapshots are retained.
- snapshot
Hours number[] - UTC hours at which snapshots are taken.
- location str
- [string] The location to query.
- retention_
days int - Number of days snapshots are retained.
- snapshot_
hours Sequence[int] - UTC hours at which snapshots are taken.
- location String
- [string] The location to query.
- retention
Days Number - Number of days snapshots are retained.
- snapshot
Hours List<Number> - UTC hours at which snapshots are taken.
Package Details
- Repository
- ionoscloud ionos-cloud/pulumi-ionoscloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ionoscloudTerraform Provider.
Viewing docs for IonosCloud v0.3.2
published on Wednesday, Jul 15, 2026 by ionos-cloud
published on Wednesday, Jul 15, 2026 by ionos-cloud