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.getInMemoryDBSnapshotLocationsV2 data source can be used to retrieve available InMemoryDB V2 snapshot locations for a given API endpoint.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ionoscloud from "@ionos-cloud/sdk-pulumi";
const example = ionoscloud.dbaas.getInMemoryDBSnapshotLocationsV2({
location: "de/txl",
});
import pulumi
import pulumi_ionoscloud as ionoscloud
example = ionoscloud.dbaas.get_in_memory_db_snapshot_locations_v2(location="de/txl")
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.GetInMemoryDBSnapshotLocationsV2(ctx, &dbaas.GetInMemoryDBSnapshotLocationsV2Args{
Location: "de/txl",
}, 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 example = Ionoscloud.Dbaas.GetInMemoryDBSnapshotLocationsV2.Invoke(new()
{
Location = "de/txl",
});
});
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.GetInMemoryDBSnapshotLocationsV2Args;
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 example = DbaasFunctions.getInMemoryDBSnapshotLocationsV2(GetInMemoryDBSnapshotLocationsV2Args.builder()
.location("de/txl")
.build());
}
}
variables:
example:
fn::invoke:
function: ionoscloud:dbaas:getInMemoryDBSnapshotLocationsV2
arguments:
location: de/txl
pulumi {
required_providers {
ionoscloud = {
source = "pulumi/ionoscloud"
}
}
}
data "ionoscloud_dbaas_getinmemorydbsnapshotlocationsv2" "example" {
location = "de/txl"
}
Using getInMemoryDBSnapshotLocationsV2
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 getInMemoryDBSnapshotLocationsV2(args: GetInMemoryDBSnapshotLocationsV2Args, opts?: InvokeOptions): Promise<GetInMemoryDBSnapshotLocationsV2Result>
function getInMemoryDBSnapshotLocationsV2Output(args: GetInMemoryDBSnapshotLocationsV2OutputArgs, opts?: InvokeOptions): Output<GetInMemoryDBSnapshotLocationsV2Result>def get_in_memory_db_snapshot_locations_v2(location: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetInMemoryDBSnapshotLocationsV2Result
def get_in_memory_db_snapshot_locations_v2_output(location: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetInMemoryDBSnapshotLocationsV2Result]func GetInMemoryDBSnapshotLocationsV2(ctx *Context, args *GetInMemoryDBSnapshotLocationsV2Args, opts ...InvokeOption) (*GetInMemoryDBSnapshotLocationsV2Result, error)
func GetInMemoryDBSnapshotLocationsV2Output(ctx *Context, args *GetInMemoryDBSnapshotLocationsV2OutputArgs, opts ...InvokeOption) GetInMemoryDBSnapshotLocationsV2ResultOutput> Note: This function is named GetInMemoryDBSnapshotLocationsV2 in the Go SDK.
public static class GetInMemoryDBSnapshotLocationsV2
{
public static Task<GetInMemoryDBSnapshotLocationsV2Result> InvokeAsync(GetInMemoryDBSnapshotLocationsV2Args args, InvokeOptions? opts = null)
public static Output<GetInMemoryDBSnapshotLocationsV2Result> Invoke(GetInMemoryDBSnapshotLocationsV2InvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetInMemoryDBSnapshotLocationsV2Result> getInMemoryDBSnapshotLocationsV2(GetInMemoryDBSnapshotLocationsV2Args args, InvokeOptions options)
public static Output<GetInMemoryDBSnapshotLocationsV2Result> getInMemoryDBSnapshotLocationsV2(GetInMemoryDBSnapshotLocationsV2Args args, InvokeOptions options)
fn::invoke:
function: ionoscloud:dbaas/getInMemoryDBSnapshotLocationsV2:getInMemoryDBSnapshotLocationsV2
arguments:
# arguments dictionarydata "ionoscloud_dbaas_get_in_memory_d_b_snapshot_locations_v2" "name" {
# arguments
}The following arguments are supported:
- Location string
- [string] The location to query. Requests are routed to the corresponding regional InMemoryDB endpoint.
- Location string
- [string] The location to query. Requests are routed to the corresponding regional InMemoryDB endpoint.
- location string
- [string] The location to query. Requests are routed to the corresponding regional InMemoryDB endpoint.
- location String
- [string] The location to query. Requests are routed to the corresponding regional InMemoryDB endpoint.
- location string
- [string] The location to query. Requests are routed to the corresponding regional InMemoryDB endpoint.
- location str
- [string] The location to query. Requests are routed to the corresponding regional InMemoryDB endpoint.
- location String
- [string] The location to query. Requests are routed to the corresponding regional InMemoryDB endpoint.
getInMemoryDBSnapshotLocationsV2 Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
List<Ionoscloud.
Get In Memory DBSnapshot Locations V2Item> - List of snapshot location objects. Each item includes:
- Location string
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
[]Get
In Memory DBSnapshot Locations V2Item - List of snapshot location objects. Each item includes:
- Location string
- id string
- The provider-assigned unique ID for this managed resource.
- items list(object)
- List of snapshot location objects. Each item includes:
- location string
- id String
- The provider-assigned unique ID for this managed resource.
- items
List<Get
In Memory DBSnapshot Locations V2Item> - List of snapshot location objects. Each item includes:
- location String
- id string
- The provider-assigned unique ID for this managed resource.
- items
Get
In Memory DBSnapshot Locations V2Item[] - List of snapshot location objects. Each item includes:
- location string
- id str
- The provider-assigned unique ID for this managed resource.
- items
Sequence[Get
In Memory DBSnapshot Locations V2Item] - List of snapshot location objects. Each item includes:
- location str
- id String
- The provider-assigned unique ID for this managed resource.
- items List<Property Map>
- List of snapshot location objects. Each item includes:
- location String
Supporting Types
GetInMemoryDBSnapshotLocationsV2Item
- Id string
- The ID of the snapshot location.
- Snapshot
Region string - The snapshot region identifier.
- Id string
- The ID of the snapshot location.
- Snapshot
Region string - The snapshot region identifier.
- id string
- The ID of the snapshot location.
- snapshot_
region string - The snapshot region identifier.
- id String
- The ID of the snapshot location.
- snapshot
Region String - The snapshot region identifier.
- id string
- The ID of the snapshot location.
- snapshot
Region string - The snapshot region identifier.
- id str
- The ID of the snapshot location.
- snapshot_
region str - The snapshot region identifier.
- id String
- The ID of the snapshot location.
- snapshot
Region String - The snapshot region identifier.
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