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.getInMemoryDBSnapshotsV2 data source can be used to retrieve information about existing InMemoryDB V2 snapshots, with an optional cluster ID filter.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ionoscloud from "@ionos-cloud/sdk-pulumi";
const all = ionoscloud.dbaas.getInMemoryDBSnapshotsV2({
location: "de/txl",
});
const forCluster = ionoscloud.dbaas.getInMemoryDBSnapshotsV2({
location: "de/txl",
clusterId: "example-id",
});
import pulumi
import pulumi_ionoscloud as ionoscloud
all = ionoscloud.dbaas.get_in_memory_db_snapshots_v2(location="de/txl")
for_cluster = ionoscloud.dbaas.get_in_memory_db_snapshots_v2(location="de/txl",
cluster_id="example-id")
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.GetInMemoryDBSnapshotsV2(ctx, &dbaas.GetInMemoryDBSnapshotsV2Args{
Location: "de/txl",
}, nil)
if err != nil {
return err
}
_, err = dbaas.GetInMemoryDBSnapshotsV2(ctx, &dbaas.GetInMemoryDBSnapshotsV2Args{
Location: "de/txl",
ClusterId: pulumi.StringRef("example-id"),
}, 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.GetInMemoryDBSnapshotsV2.Invoke(new()
{
Location = "de/txl",
});
var forCluster = Ionoscloud.Dbaas.GetInMemoryDBSnapshotsV2.Invoke(new()
{
Location = "de/txl",
ClusterId = "example-id",
});
});
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.GetInMemoryDBSnapshotsV2Args;
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.getInMemoryDBSnapshotsV2(GetInMemoryDBSnapshotsV2Args.builder()
.location("de/txl")
.build());
final var forCluster = DbaasFunctions.getInMemoryDBSnapshotsV2(GetInMemoryDBSnapshotsV2Args.builder()
.location("de/txl")
.clusterId("example-id")
.build());
}
}
variables:
all:
fn::invoke:
function: ionoscloud:dbaas:getInMemoryDBSnapshotsV2
arguments:
location: de/txl
forCluster:
fn::invoke:
function: ionoscloud:dbaas:getInMemoryDBSnapshotsV2
arguments:
location: de/txl
clusterId: example-id
pulumi {
required_providers {
ionoscloud = {
source = "pulumi/ionoscloud"
}
}
}
data "ionoscloud_dbaas_getinmemorydbsnapshotsv2" "all" {
location = "de/txl"
}
data "ionoscloud_dbaas_getinmemorydbsnapshotsv2" "forCluster" {
location = "de/txl"
cluster_id = "example-id"
}
Using getInMemoryDBSnapshotsV2
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 getInMemoryDBSnapshotsV2(args: GetInMemoryDBSnapshotsV2Args, opts?: InvokeOptions): Promise<GetInMemoryDBSnapshotsV2Result>
function getInMemoryDBSnapshotsV2Output(args: GetInMemoryDBSnapshotsV2OutputArgs, opts?: InvokeOutputOptions): Output<GetInMemoryDBSnapshotsV2Result>def get_in_memory_db_snapshots_v2(cluster_id: Optional[str] = None,
location: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetInMemoryDBSnapshotsV2Result
def get_in_memory_db_snapshots_v2_output(cluster_id: pulumi.Input[Optional[str]] = None,
location: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetInMemoryDBSnapshotsV2Result]func GetInMemoryDBSnapshotsV2(ctx *Context, args *GetInMemoryDBSnapshotsV2Args, opts ...InvokeOption) (*GetInMemoryDBSnapshotsV2Result, error)
func GetInMemoryDBSnapshotsV2Output(ctx *Context, args *GetInMemoryDBSnapshotsV2OutputArgs, opts ...InvokeOption) GetInMemoryDBSnapshotsV2ResultOutput> Note: This function is named GetInMemoryDBSnapshotsV2 in the Go SDK.
public static class GetInMemoryDBSnapshotsV2
{
public static Task<GetInMemoryDBSnapshotsV2Result> InvokeAsync(GetInMemoryDBSnapshotsV2Args args, InvokeOptions? opts = null)
public static Output<GetInMemoryDBSnapshotsV2Result> Invoke(GetInMemoryDBSnapshotsV2InvokeArgs args, InvokeOptions? opts = null)
public static Output<GetInMemoryDBSnapshotsV2Result> Invoke(GetInMemoryDBSnapshotsV2InvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetInMemoryDBSnapshotsV2Result> getInMemoryDBSnapshotsV2(GetInMemoryDBSnapshotsV2Args args, InvokeOptions options)
public static Output<GetInMemoryDBSnapshotsV2Result> getInMemoryDBSnapshotsV2(GetInMemoryDBSnapshotsV2Args args, InvokeOptions options)
public static Output<GetInMemoryDBSnapshotsV2Result> getInMemoryDBSnapshotsV2(GetInMemoryDBSnapshotsV2Args args, InvokeOutputOptions options)
fn::invoke:
function: ionoscloud:dbaas/getInMemoryDBSnapshotsV2:getInMemoryDBSnapshotsV2
arguments:
# arguments dictionarydata "ionoscloud_dbaas_get_in_memory_d_b_snapshots_v2" "name" {
# arguments
}The following arguments are supported:
- location string
- [string] The location to query.
- cluster_
id string - [string] Filter snapshots by cluster UUID.
- location str
- [string] The location to query.
- cluster_
id str - [string] Filter snapshots by cluster UUID.
getInMemoryDBSnapshotsV2 Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
List<Ionoscloud.
Get In Memory DBSnapshots V2Item> - List of snapshots. Each item includes:
- Location string
- The location of the snapshot.
- Cluster
Id string - The ID of the cluster this snapshot belongs to.
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
[]Get
In Memory DBSnapshots V2Item - List of snapshots. Each item includes:
- Location string
- The location of the snapshot.
- Cluster
Id string - The ID of the cluster this snapshot belongs to.
- id string
- The provider-assigned unique ID for this managed resource.
- items list(object)
- List of snapshots. Each item includes:
- location string
- The location of the snapshot.
- cluster_
id string - The ID of the cluster this snapshot belongs to.
- id String
- The provider-assigned unique ID for this managed resource.
- items
List<Get
In Memory DBSnapshots V2Item> - List of snapshots. Each item includes:
- location String
- The location of the snapshot.
- cluster
Id String - The ID of the cluster this snapshot belongs to.
- id string
- The provider-assigned unique ID for this managed resource.
- items
Get
In Memory DBSnapshots V2Item[] - List of snapshots. Each item includes:
- location string
- The location of the snapshot.
- cluster
Id string - The ID of the cluster this snapshot belongs to.
- id str
- The provider-assigned unique ID for this managed resource.
- items
Sequence[Get
In Memory DBSnapshots V2Item] - List of snapshots. Each item includes:
- location str
- The location of the snapshot.
- cluster_
id str - The ID of the cluster this snapshot belongs to.
- id String
- The provider-assigned unique ID for this managed resource.
- items List<Property Map>
- List of snapshots. Each item includes:
- location String
- The location of the snapshot.
- cluster
Id String - The ID of the cluster this snapshot belongs to.
Supporting Types
GetInMemoryDBSnapshotsV2Item
- Cluster
Id string - [string] Filter snapshots by cluster UUID.
- Cluster
Name string - The name of the cluster this snapshot belongs to.
- Cluster
Version string - The InMemoryDB version of the cluster at the time of the snapshot.
- Datacenter
Id string - The ID of the data center where the snapshot was created.
- Earliest
Recovery stringTarget Time - The earliest time for which a snapshot is available to restore from (RFC3339).
- Id string
- The UUID of the snapshot.
- Latest
Recovery stringTarget Time - The most recent time for which a snapshot is available to restore from (RFC3339). Empty if available up to the current time.
- Location string
- [string] The location to query.
- Required
Size doubleFor Restore - The minimum storage size in GB required to restore from this snapshot.
- Snapshot
Location string - The Object Storage location where the snapshot is stored.
- Snapshot
Size double - The size of the snapshot in GB.
- Cluster
Id string - [string] Filter snapshots by cluster UUID.
- Cluster
Name string - The name of the cluster this snapshot belongs to.
- Cluster
Version string - The InMemoryDB version of the cluster at the time of the snapshot.
- Datacenter
Id string - The ID of the data center where the snapshot was created.
- Earliest
Recovery stringTarget Time - The earliest time for which a snapshot is available to restore from (RFC3339).
- Id string
- The UUID of the snapshot.
- Latest
Recovery stringTarget Time - The most recent time for which a snapshot is available to restore from (RFC3339). Empty if available up to the current time.
- Location string
- [string] The location to query.
- Required
Size float64For Restore - The minimum storage size in GB required to restore from this snapshot.
- Snapshot
Location string - The Object Storage location where the snapshot is stored.
- Snapshot
Size float64 - The size of the snapshot in GB.
- cluster_
id string - [string] Filter snapshots by cluster UUID.
- cluster_
name string - The name of the cluster this snapshot belongs to.
- cluster_
version string - The InMemoryDB version of the cluster at the time of the snapshot.
- datacenter_
id string - The ID of the data center where the snapshot was created.
- earliest_
recovery_ stringtarget_ time - The earliest time for which a snapshot is available to restore from (RFC3339).
- id string
- The UUID of the snapshot.
- latest_
recovery_ stringtarget_ time - The most recent time for which a snapshot is available to restore from (RFC3339). Empty if available up to the current time.
- location string
- [string] The location to query.
- required_
size_ numberfor_ restore - The minimum storage size in GB required to restore from this snapshot.
- snapshot_
location string - The Object Storage location where the snapshot is stored.
- snapshot_
size number - The size of the snapshot in GB.
- cluster
Id String - [string] Filter snapshots by cluster UUID.
- cluster
Name String - The name of the cluster this snapshot belongs to.
- cluster
Version String - The InMemoryDB version of the cluster at the time of the snapshot.
- datacenter
Id String - The ID of the data center where the snapshot was created.
- earliest
Recovery StringTarget Time - The earliest time for which a snapshot is available to restore from (RFC3339).
- id String
- The UUID of the snapshot.
- latest
Recovery StringTarget Time - The most recent time for which a snapshot is available to restore from (RFC3339). Empty if available up to the current time.
- location String
- [string] The location to query.
- required
Size DoubleFor Restore - The minimum storage size in GB required to restore from this snapshot.
- snapshot
Location String - The Object Storage location where the snapshot is stored.
- snapshot
Size Double - The size of the snapshot in GB.
- cluster
Id string - [string] Filter snapshots by cluster UUID.
- cluster
Name string - The name of the cluster this snapshot belongs to.
- cluster
Version string - The InMemoryDB version of the cluster at the time of the snapshot.
- datacenter
Id string - The ID of the data center where the snapshot was created.
- earliest
Recovery stringTarget Time - The earliest time for which a snapshot is available to restore from (RFC3339).
- id string
- The UUID of the snapshot.
- latest
Recovery stringTarget Time - The most recent time for which a snapshot is available to restore from (RFC3339). Empty if available up to the current time.
- location string
- [string] The location to query.
- required
Size numberFor Restore - The minimum storage size in GB required to restore from this snapshot.
- snapshot
Location string - The Object Storage location where the snapshot is stored.
- snapshot
Size number - The size of the snapshot in GB.
- cluster_
id str - [string] Filter snapshots by cluster UUID.
- cluster_
name str - The name of the cluster this snapshot belongs to.
- cluster_
version str - The InMemoryDB version of the cluster at the time of the snapshot.
- datacenter_
id str - The ID of the data center where the snapshot was created.
- earliest_
recovery_ strtarget_ time - The earliest time for which a snapshot is available to restore from (RFC3339).
- id str
- The UUID of the snapshot.
- latest_
recovery_ strtarget_ time - The most recent time for which a snapshot is available to restore from (RFC3339). Empty if available up to the current time.
- location str
- [string] The location to query.
- required_
size_ floatfor_ restore - The minimum storage size in GB required to restore from this snapshot.
- snapshot_
location str - The Object Storage location where the snapshot is stored.
- snapshot_
size float - The size of the snapshot in GB.
- cluster
Id String - [string] Filter snapshots by cluster UUID.
- cluster
Name String - The name of the cluster this snapshot belongs to.
- cluster
Version String - The InMemoryDB version of the cluster at the time of the snapshot.
- datacenter
Id String - The ID of the data center where the snapshot was created.
- earliest
Recovery StringTarget Time - The earliest time for which a snapshot is available to restore from (RFC3339).
- id String
- The UUID of the snapshot.
- latest
Recovery StringTarget Time - The most recent time for which a snapshot is available to restore from (RFC3339). Empty if available up to the current time.
- location String
- [string] The location to query.
- required
Size NumberFor Restore - The minimum storage size in GB required to restore from this snapshot.
- snapshot
Location String - The Object Storage location where the snapshot is stored.
- snapshot
Size Number - The size of the snapshot in GB.
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