Viewing docs for IonosCloud v0.3.3
published on Tuesday, Sep 15, 2026 by ionos-cloud
published on Tuesday, Sep 15, 2026 by ionos-cloud
Viewing docs for IonosCloud v0.3.3
published on Tuesday, Sep 15, 2026 by ionos-cloud
published on Tuesday, Sep 15, 2026 by ionos-cloud
The ionoscloud.dbaas.getMariaDBBackupsV2 data source can be used to retrieve information about existing MariaDB V2 backups, 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.getMariaDBBackupsV2({
location: "de/txl",
});
const forCluster = ionoscloud.dbaas.getMariaDBBackupsV2({
location: "de/txl",
clusterId: "example-id",
});
import pulumi
import pulumi_ionoscloud as ionoscloud
all = ionoscloud.dbaas.get_maria_db_backups_v2(location="de/txl")
for_cluster = ionoscloud.dbaas.get_maria_db_backups_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.GetMariaDBBackupsV2(ctx, &dbaas.GetMariaDBBackupsV2Args{
Location: "de/txl",
}, nil)
if err != nil {
return err
}
_, err = dbaas.GetMariaDBBackupsV2(ctx, &dbaas.GetMariaDBBackupsV2Args{
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.GetMariaDBBackupsV2.Invoke(new()
{
Location = "de/txl",
});
var forCluster = Ionoscloud.Dbaas.GetMariaDBBackupsV2.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.GetMariaDBBackupsV2Args;
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.getMariaDBBackupsV2(GetMariaDBBackupsV2Args.builder()
.location("de/txl")
.build());
final var forCluster = DbaasFunctions.getMariaDBBackupsV2(GetMariaDBBackupsV2Args.builder()
.location("de/txl")
.clusterId("example-id")
.build());
}
}
variables:
all:
fn::invoke:
function: ionoscloud:dbaas:getMariaDBBackupsV2
arguments:
location: de/txl
forCluster:
fn::invoke:
function: ionoscloud:dbaas:getMariaDBBackupsV2
arguments:
location: de/txl
clusterId: example-id
pulumi {
required_providers {
ionoscloud = {
source = "pulumi/ionoscloud"
}
}
}
data "ionoscloud_dbaas_getmariadbbackupsv2" "all" {
location = "de/txl"
}
data "ionoscloud_dbaas_getmariadbbackupsv2" "forCluster" {
location = "de/txl"
cluster_id = "example-id"
}
Using getMariaDBBackupsV2
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 getMariaDBBackupsV2(args: GetMariaDBBackupsV2Args, opts?: InvokeOptions): Promise<GetMariaDBBackupsV2Result>
function getMariaDBBackupsV2Output(args: GetMariaDBBackupsV2OutputArgs, opts?: InvokeOutputOptions): Output<GetMariaDBBackupsV2Result>def get_maria_db_backups_v2(cluster_id: Optional[str] = None,
location: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetMariaDBBackupsV2Result
def get_maria_db_backups_v2_output(cluster_id: pulumi.Input[Optional[str]] = None,
location: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOutputOptions] = None) -> Output[GetMariaDBBackupsV2Result]func GetMariaDBBackupsV2(ctx *Context, args *GetMariaDBBackupsV2Args, opts ...InvokeOption) (*GetMariaDBBackupsV2Result, error)
func GetMariaDBBackupsV2Output(ctx *Context, args *GetMariaDBBackupsV2OutputArgs, opts ...InvokeOption) GetMariaDBBackupsV2ResultOutput> Note: This function is named GetMariaDBBackupsV2 in the Go SDK.
public static class GetMariaDBBackupsV2
{
public static Task<GetMariaDBBackupsV2Result> InvokeAsync(GetMariaDBBackupsV2Args args, InvokeOptions? opts = null)
public static Output<GetMariaDBBackupsV2Result> Invoke(GetMariaDBBackupsV2InvokeArgs args, InvokeOptions? opts = null)
public static Output<GetMariaDBBackupsV2Result> Invoke(GetMariaDBBackupsV2InvokeArgs args, InvokeOutputOptions opts)
}public static CompletableFuture<GetMariaDBBackupsV2Result> getMariaDBBackupsV2(GetMariaDBBackupsV2Args args, InvokeOptions options)
public static Output<GetMariaDBBackupsV2Result> getMariaDBBackupsV2(GetMariaDBBackupsV2Args args, InvokeOptions options)
public static Output<GetMariaDBBackupsV2Result> getMariaDBBackupsV2(GetMariaDBBackupsV2Args args, InvokeOutputOptions options)
fn::invoke:
function: ionoscloud:dbaas/getMariaDBBackupsV2:getMariaDBBackupsV2
arguments:
# arguments dictionarydata "ionoscloud_dbaas_get_maria_d_b_backups_v2" "name" {
# arguments
}The following arguments are supported:
- location string
- [string] The location to query. Available locations:
de/fra,de/fra/1,de/fra/2,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci. - cluster_
id string - [string] Filter backups by the cluster they belong to.
- location str
- [string] The location to query. Available locations:
de/fra,de/fra/1,de/fra/2,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci. - cluster_
id str - [string] Filter backups by the cluster they belong to.
getMariaDBBackupsV2 Result
The following output properties are available:
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
List<Ionoscloud.
Get Maria DBBackups V2Item> - List of backups. Each item includes:
- Location string
- The Object Storage location where the backup is stored.
- Cluster
Id string - The ID of the cluster this backup belongs to.
- Id string
- The provider-assigned unique ID for this managed resource.
- Items
[]Get
Maria DBBackups V2Item - List of backups. Each item includes:
- Location string
- The Object Storage location where the backup is stored.
- Cluster
Id string - The ID of the cluster this backup belongs to.
- id string
- The provider-assigned unique ID for this managed resource.
- items list(object)
- List of backups. Each item includes:
- location string
- The Object Storage location where the backup is stored.
- cluster_
id string - The ID of the cluster this backup belongs to.
- id String
- The provider-assigned unique ID for this managed resource.
- items
List<Get
Maria DBBackups V2Item> - List of backups. Each item includes:
- location String
- The Object Storage location where the backup is stored.
- cluster
Id String - The ID of the cluster this backup belongs to.
- id string
- The provider-assigned unique ID for this managed resource.
- items
Get
Maria DBBackups V2Item[] - List of backups. Each item includes:
- location string
- The Object Storage location where the backup is stored.
- cluster
Id string - The ID of the cluster this backup belongs to.
- id str
- The provider-assigned unique ID for this managed resource.
- items
Sequence[Get
Maria DBBackups V2Item] - List of backups. Each item includes:
- location str
- The Object Storage location where the backup is stored.
- cluster_
id str - The ID of the cluster this backup belongs to.
- id String
- The provider-assigned unique ID for this managed resource.
- items List<Property Map>
- List of backups. Each item includes:
- location String
- The Object Storage location where the backup is stored.
- cluster
Id String - The ID of the cluster this backup belongs to.
Supporting Types
GetMariaDBBackupsV2Item
- Cluster
Id string - [string] Filter backups by the cluster they belong to.
- Cluster
Name string - The name of the cluster this backup belongs to.
- Earliest
Recovery stringTarget Time - The earliest point in time to which the cluster can be restored from this backup (RFC3339).
- Id string
- The ID (UUID) of the backup.
- Latest
Recovery stringTarget Time - The latest point in time to which the cluster can be restored (RFC3339). Empty if the backup can be restored up to the current time.
- Location string
- [string] The location to query. Available locations:
de/fra,de/fra/1,de/fra/2,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci. - Mariadb
Cluster stringVersion - The MariaDB version of the cluster at backup time.
- Cluster
Id string - [string] Filter backups by the cluster they belong to.
- Cluster
Name string - The name of the cluster this backup belongs to.
- Earliest
Recovery stringTarget Time - The earliest point in time to which the cluster can be restored from this backup (RFC3339).
- Id string
- The ID (UUID) of the backup.
- Latest
Recovery stringTarget Time - The latest point in time to which the cluster can be restored (RFC3339). Empty if the backup can be restored up to the current time.
- Location string
- [string] The location to query. Available locations:
de/fra,de/fra/1,de/fra/2,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci. - Mariadb
Cluster stringVersion - The MariaDB version of the cluster at backup time.
- cluster_
id string - [string] Filter backups by the cluster they belong to.
- cluster_
name string - The name of the cluster this backup belongs to.
- earliest_
recovery_ stringtarget_ time - The earliest point in time to which the cluster can be restored from this backup (RFC3339).
- id string
- The ID (UUID) of the backup.
- latest_
recovery_ stringtarget_ time - The latest point in time to which the cluster can be restored (RFC3339). Empty if the backup can be restored up to the current time.
- location string
- [string] The location to query. Available locations:
de/fra,de/fra/1,de/fra/2,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci. - mariadb_
cluster_ stringversion - The MariaDB version of the cluster at backup time.
- cluster
Id String - [string] Filter backups by the cluster they belong to.
- cluster
Name String - The name of the cluster this backup belongs to.
- earliest
Recovery StringTarget Time - The earliest point in time to which the cluster can be restored from this backup (RFC3339).
- id String
- The ID (UUID) of the backup.
- latest
Recovery StringTarget Time - The latest point in time to which the cluster can be restored (RFC3339). Empty if the backup can be restored up to the current time.
- location String
- [string] The location to query. Available locations:
de/fra,de/fra/1,de/fra/2,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci. - mariadb
Cluster StringVersion - The MariaDB version of the cluster at backup time.
- cluster
Id string - [string] Filter backups by the cluster they belong to.
- cluster
Name string - The name of the cluster this backup belongs to.
- earliest
Recovery stringTarget Time - The earliest point in time to which the cluster can be restored from this backup (RFC3339).
- id string
- The ID (UUID) of the backup.
- latest
Recovery stringTarget Time - The latest point in time to which the cluster can be restored (RFC3339). Empty if the backup can be restored up to the current time.
- location string
- [string] The location to query. Available locations:
de/fra,de/fra/1,de/fra/2,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci. - mariadb
Cluster stringVersion - The MariaDB version of the cluster at backup time.
- cluster_
id str - [string] Filter backups by the cluster they belong to.
- cluster_
name str - The name of the cluster this backup belongs to.
- earliest_
recovery_ strtarget_ time - The earliest point in time to which the cluster can be restored from this backup (RFC3339).
- id str
- The ID (UUID) of the backup.
- latest_
recovery_ strtarget_ time - The latest point in time to which the cluster can be restored (RFC3339). Empty if the backup can be restored up to the current time.
- location str
- [string] The location to query. Available locations:
de/fra,de/fra/1,de/fra/2,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci. - mariadb_
cluster_ strversion - The MariaDB version of the cluster at backup time.
- cluster
Id String - [string] Filter backups by the cluster they belong to.
- cluster
Name String - The name of the cluster this backup belongs to.
- earliest
Recovery StringTarget Time - The earliest point in time to which the cluster can be restored from this backup (RFC3339).
- id String
- The ID (UUID) of the backup.
- latest
Recovery StringTarget Time - The latest point in time to which the cluster can be restored (RFC3339). Empty if the backup can be restored up to the current time.
- location String
- [string] The location to query. Available locations:
de/fra,de/fra/1,de/fra/2,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci. - mariadb
Cluster StringVersion - The MariaDB version of the cluster at backup time.
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.3
published on Tuesday, Sep 15, 2026 by ionos-cloud
published on Tuesday, Sep 15, 2026 by ionos-cloud