Viewing docs for IonosCloud v0.3.1
published on Wednesday, Jun 10, 2026 by ionos-cloud
published on Wednesday, Jun 10, 2026 by ionos-cloud
Viewing docs for IonosCloud v0.3.1
published on Wednesday, Jun 10, 2026 by ionos-cloud
published on Wednesday, Jun 10, 2026 by ionos-cloud
The DBaaS PostgreSQL v2 Clusters data source can be used to list existing DBaaS PostgreSQL v2 Clusters in a given location. An optional name filter can be used to narrow down results.
Example Usage
List all clusters in a location
import * as pulumi from "@pulumi/pulumi";
import * as ionoscloud from "@ionos-cloud/sdk-pulumi";
const example = ionoscloud.dbaas.getPSQLClustersV2({
location: "de/txl",
});
import pulumi
import pulumi_ionoscloud as ionoscloud
example = ionoscloud.dbaas.get_psql_clusters_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.GetPSQLClustersV2(ctx, &dbaas.GetPSQLClustersV2Args{
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.GetPSQLClustersV2.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.GetPSQLClustersV2Args;
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.getPSQLClustersV2(GetPSQLClustersV2Args.builder()
.location("de/txl")
.build());
}
}
variables:
example:
fn::invoke:
function: ionoscloud:dbaas:getPSQLClustersV2
arguments:
location: de/txl
pulumi {
required_providers {
ionoscloud = {
source = "pulumi/ionoscloud"
}
}
}
data "ionoscloud_dbaas_getpsqlclustersv2" "example" {
location = "de/txl"
}
Filter clusters by name
import * as pulumi from "@pulumi/pulumi";
import * as ionoscloud from "@ionos-cloud/sdk-pulumi";
const example = ionoscloud.dbaas.getPSQLClustersV2({
location: "de/txl",
name: "cluster_name",
});
import pulumi
import pulumi_ionoscloud as ionoscloud
example = ionoscloud.dbaas.get_psql_clusters_v2(location="de/txl",
name="cluster_name")
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.GetPSQLClustersV2(ctx, &dbaas.GetPSQLClustersV2Args{
Location: "de/txl",
Name: pulumi.StringRef("cluster_name"),
}, 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.GetPSQLClustersV2.Invoke(new()
{
Location = "de/txl",
Name = "cluster_name",
});
});
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.GetPSQLClustersV2Args;
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.getPSQLClustersV2(GetPSQLClustersV2Args.builder()
.location("de/txl")
.name("cluster_name")
.build());
}
}
variables:
example:
fn::invoke:
function: ionoscloud:dbaas:getPSQLClustersV2
arguments:
location: de/txl
name: cluster_name
pulumi {
required_providers {
ionoscloud = {
source = "pulumi/ionoscloud"
}
}
}
data "ionoscloud_dbaas_getpsqlclustersv2" "example" {
location = "de/txl"
name = "cluster_name"
}
Using getPSQLClustersV2
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 getPSQLClustersV2(args: GetPSQLClustersV2Args, opts?: InvokeOptions): Promise<GetPSQLClustersV2Result>
function getPSQLClustersV2Output(args: GetPSQLClustersV2OutputArgs, opts?: InvokeOptions): Output<GetPSQLClustersV2Result>def get_psql_clusters_v2(location: Optional[str] = None,
name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPSQLClustersV2Result
def get_psql_clusters_v2_output(location: pulumi.Input[Optional[str]] = None,
name: pulumi.Input[Optional[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPSQLClustersV2Result]func GetPSQLClustersV2(ctx *Context, args *GetPSQLClustersV2Args, opts ...InvokeOption) (*GetPSQLClustersV2Result, error)
func GetPSQLClustersV2Output(ctx *Context, args *GetPSQLClustersV2OutputArgs, opts ...InvokeOption) GetPSQLClustersV2ResultOutput> Note: This function is named GetPSQLClustersV2 in the Go SDK.
public static class GetPSQLClustersV2
{
public static Task<GetPSQLClustersV2Result> InvokeAsync(GetPSQLClustersV2Args args, InvokeOptions? opts = null)
public static Output<GetPSQLClustersV2Result> Invoke(GetPSQLClustersV2InvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetPSQLClustersV2Result> getPSQLClustersV2(GetPSQLClustersV2Args args, InvokeOptions options)
public static Output<GetPSQLClustersV2Result> getPSQLClustersV2(GetPSQLClustersV2Args args, InvokeOptions options)
fn::invoke:
function: ionoscloud:dbaas/getPSQLClustersV2:getPSQLClustersV2
arguments:
# arguments dictionarydata "ionoscloud_dbaas_getpsqlclustersv2" "name" {
# arguments
}The following arguments are supported:
getPSQLClustersV2 Result
The following output properties are available:
- Clusters
List<Ionoscloud.
Get PSQLClusters V2Cluster> - The list of PostgreSQL v2 clusters. Each cluster has the following attributes:
- Id string
- The provider-assigned unique ID for this managed resource.
- Location string
- The Object Storage location where the backups are stored.
- Name string
- The name of the PostgreSQL cluster.
- Clusters
[]Get
PSQLClusters V2Cluster - The list of PostgreSQL v2 clusters. Each cluster has the following attributes:
- Id string
- The provider-assigned unique ID for this managed resource.
- Location string
- The Object Storage location where the backups are stored.
- Name string
- The name of the PostgreSQL cluster.
- clusters list(object)
- The list of PostgreSQL v2 clusters. Each cluster has the following attributes:
- id string
- The provider-assigned unique ID for this managed resource.
- location string
- The Object Storage location where the backups are stored.
- name string
- The name of the PostgreSQL cluster.
- clusters
List<Get
PSQLClusters V2Cluster> - The list of PostgreSQL v2 clusters. Each cluster has the following attributes:
- id String
- The provider-assigned unique ID for this managed resource.
- location String
- The Object Storage location where the backups are stored.
- name String
- The name of the PostgreSQL cluster.
- clusters
Get
PSQLClusters V2Cluster[] - The list of PostgreSQL v2 clusters. Each cluster has the following attributes:
- id string
- The provider-assigned unique ID for this managed resource.
- location string
- The Object Storage location where the backups are stored.
- name string
- The name of the PostgreSQL cluster.
- clusters
Sequence[Get
PSQLClusters V2Cluster] - The list of PostgreSQL v2 clusters. Each cluster has the following attributes:
- id str
- The provider-assigned unique ID for this managed resource.
- location str
- The Object Storage location where the backups are stored.
- name str
- The name of the PostgreSQL cluster.
- clusters List<Property Map>
- The list of PostgreSQL v2 clusters. Each cluster has the following attributes:
- id String
- The provider-assigned unique ID for this managed resource.
- location String
- The Object Storage location where the backups are stored.
- name String
- The name of the PostgreSQL cluster.
Supporting Types
GetPSQLClustersV2Cluster
- Backup
Ionoscloud.
Get PSQLClusters V2Cluster Backup - Backup configuration of the cluster.
- Connection
Pooler string - How database connections are managed and reused.
- Connections
Ionoscloud.
Get PSQLClusters V2Cluster Connections - Connection information of the PostgreSQL cluster.
- Description string
- Human-readable description of the cluster.
- Dns
Name string - The DNS name used to access the cluster.
- Id string
- The ID (UUID) of the cluster.
- Instances
Ionoscloud.
Get PSQLClusters V2Cluster Instances - The instance configuration for the PostgreSQL cluster.
- Location string
- [string] The region in which to look up clusters. Available locations:
de/fra,de/fra/2,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci. - Logs
Enabled bool - Whether the collection and reporting of logs is enabled for this cluster.
- Maintenance
Window Ionoscloud.Get PSQLClusters V2Cluster Maintenance Window - A weekly 4 hour-long window, during which maintenance might occur.
- Metrics
Enabled bool - Whether the collection and reporting of metrics is enabled for this cluster.
- Name string
- [string] Filters clusters by name. Matches cluster names that contain the provided string.
- Replication
Mode string - Replication mode across the instances.
- Version string
- The PostgreSQL version of the cluster.
- Backup
Get
PSQLClusters V2Cluster Backup - Backup configuration of the cluster.
- Connection
Pooler string - How database connections are managed and reused.
- Connections
Get
PSQLClusters V2Cluster Connections - Connection information of the PostgreSQL cluster.
- Description string
- Human-readable description of the cluster.
- Dns
Name string - The DNS name used to access the cluster.
- Id string
- The ID (UUID) of the cluster.
- Instances
Get
PSQLClusters V2Cluster Instances - The instance configuration for the PostgreSQL cluster.
- Location string
- [string] The region in which to look up clusters. Available locations:
de/fra,de/fra/2,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci. - Logs
Enabled bool - Whether the collection and reporting of logs is enabled for this cluster.
- Maintenance
Window GetPSQLClusters V2Cluster Maintenance Window - A weekly 4 hour-long window, during which maintenance might occur.
- Metrics
Enabled bool - Whether the collection and reporting of metrics is enabled for this cluster.
- Name string
- [string] Filters clusters by name. Matches cluster names that contain the provided string.
- Replication
Mode string - Replication mode across the instances.
- Version string
- The PostgreSQL version of the cluster.
- backup object
- Backup configuration of the cluster.
- connection_
pooler string - How database connections are managed and reused.
- connections object
- Connection information of the PostgreSQL cluster.
- description string
- Human-readable description of the cluster.
- dns_
name string - The DNS name used to access the cluster.
- id string
- The ID (UUID) of the cluster.
- instances object
- The instance configuration for the PostgreSQL cluster.
- location string
- [string] The region in which to look up clusters. Available locations:
de/fra,de/fra/2,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci. - logs_
enabled bool - Whether the collection and reporting of logs is enabled for this cluster.
- maintenance_
window object - A weekly 4 hour-long window, during which maintenance might occur.
- metrics_
enabled bool - Whether the collection and reporting of metrics is enabled for this cluster.
- name string
- [string] Filters clusters by name. Matches cluster names that contain the provided string.
- replication_
mode string - Replication mode across the instances.
- version string
- The PostgreSQL version of the cluster.
- backup
Get
PSQLClusters V2Cluster Backup - Backup configuration of the cluster.
- connection
Pooler String - How database connections are managed and reused.
- connections
Get
PSQLClusters V2Cluster Connections - Connection information of the PostgreSQL cluster.
- description String
- Human-readable description of the cluster.
- dns
Name String - The DNS name used to access the cluster.
- id String
- The ID (UUID) of the cluster.
- instances
Get
PSQLClusters V2Cluster Instances - The instance configuration for the PostgreSQL cluster.
- location String
- [string] The region in which to look up clusters. Available locations:
de/fra,de/fra/2,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci. - logs
Enabled Boolean - Whether the collection and reporting of logs is enabled for this cluster.
- maintenance
Window GetPSQLClusters V2Cluster Maintenance Window - A weekly 4 hour-long window, during which maintenance might occur.
- metrics
Enabled Boolean - Whether the collection and reporting of metrics is enabled for this cluster.
- name String
- [string] Filters clusters by name. Matches cluster names that contain the provided string.
- replication
Mode String - Replication mode across the instances.
- version String
- The PostgreSQL version of the cluster.
- backup
Get
PSQLClusters V2Cluster Backup - Backup configuration of the cluster.
- connection
Pooler string - How database connections are managed and reused.
- connections
Get
PSQLClusters V2Cluster Connections - Connection information of the PostgreSQL cluster.
- description string
- Human-readable description of the cluster.
- dns
Name string - The DNS name used to access the cluster.
- id string
- The ID (UUID) of the cluster.
- instances
Get
PSQLClusters V2Cluster Instances - The instance configuration for the PostgreSQL cluster.
- location string
- [string] The region in which to look up clusters. Available locations:
de/fra,de/fra/2,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci. - logs
Enabled boolean - Whether the collection and reporting of logs is enabled for this cluster.
- maintenance
Window GetPSQLClusters V2Cluster Maintenance Window - A weekly 4 hour-long window, during which maintenance might occur.
- metrics
Enabled boolean - Whether the collection and reporting of metrics is enabled for this cluster.
- name string
- [string] Filters clusters by name. Matches cluster names that contain the provided string.
- replication
Mode string - Replication mode across the instances.
- version string
- The PostgreSQL version of the cluster.
- backup
Get
PSQLClusters V2Cluster Backup - Backup configuration of the cluster.
- connection_
pooler str - How database connections are managed and reused.
- connections
Get
PSQLClusters V2Cluster Connections - Connection information of the PostgreSQL cluster.
- description str
- Human-readable description of the cluster.
- dns_
name str - The DNS name used to access the cluster.
- id str
- The ID (UUID) of the cluster.
- instances
Get
PSQLClusters V2Cluster Instances - The instance configuration for the PostgreSQL cluster.
- location str
- [string] The region in which to look up clusters. Available locations:
de/fra,de/fra/2,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci. - logs_
enabled bool - Whether the collection and reporting of logs is enabled for this cluster.
- maintenance_
window GetPSQLClusters V2Cluster Maintenance Window - A weekly 4 hour-long window, during which maintenance might occur.
- metrics_
enabled bool - Whether the collection and reporting of metrics is enabled for this cluster.
- name str
- [string] Filters clusters by name. Matches cluster names that contain the provided string.
- replication_
mode str - Replication mode across the instances.
- version str
- The PostgreSQL version of the cluster.
- backup Property Map
- Backup configuration of the cluster.
- connection
Pooler String - How database connections are managed and reused.
- connections Property Map
- Connection information of the PostgreSQL cluster.
- description String
- Human-readable description of the cluster.
- dns
Name String - The DNS name used to access the cluster.
- id String
- The ID (UUID) of the cluster.
- instances Property Map
- The instance configuration for the PostgreSQL cluster.
- location String
- [string] The region in which to look up clusters. Available locations:
de/fra,de/fra/2,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci. - logs
Enabled Boolean - Whether the collection and reporting of logs is enabled for this cluster.
- maintenance
Window Property Map - A weekly 4 hour-long window, during which maintenance might occur.
- metrics
Enabled Boolean - Whether the collection and reporting of metrics is enabled for this cluster.
- name String
- [string] Filters clusters by name. Matches cluster names that contain the provided string.
- replication
Mode String - Replication mode across the instances.
- version String
- The PostgreSQL version of the cluster.
GetPSQLClustersV2ClusterBackup
- Location string
- [string] The region in which to look up clusters. Available locations:
de/fra,de/fra/2,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci. - Retention
Days int - How many days cluster backups are retained.
- Location string
- [string] The region in which to look up clusters. Available locations:
de/fra,de/fra/2,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci. - Retention
Days int - How many days cluster backups are retained.
- location string
- [string] The region in which to look up clusters. Available locations:
de/fra,de/fra/2,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci. - retention_
days number - How many days cluster backups are retained.
- location String
- [string] The region in which to look up clusters. Available locations:
de/fra,de/fra/2,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci. - retention
Days Integer - How many days cluster backups are retained.
- location string
- [string] The region in which to look up clusters. Available locations:
de/fra,de/fra/2,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci. - retention
Days number - How many days cluster backups are retained.
- location str
- [string] The region in which to look up clusters. Available locations:
de/fra,de/fra/2,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci. - retention_
days int - How many days cluster backups are retained.
- location String
- [string] The region in which to look up clusters. Available locations:
de/fra,de/fra/2,de/txl,es/vit,fr/par,gb/bhx,gb/lhr,us/ewr,us/las,us/mci. - retention
Days Number - How many days cluster backups are retained.
GetPSQLClustersV2ClusterConnections
- Datacenter
Id string - The datacenter the cluster is connected to.
- Lan
Id string - The numeric LAN ID the cluster is connected to.
- Primary
Instance stringAddress - The IP and netmask assigned to the cluster primary instance.
- Datacenter
Id string - The datacenter the cluster is connected to.
- Lan
Id string - The numeric LAN ID the cluster is connected to.
- Primary
Instance stringAddress - The IP and netmask assigned to the cluster primary instance.
- datacenter_
id string - The datacenter the cluster is connected to.
- lan_
id string - The numeric LAN ID the cluster is connected to.
- primary_
instance_ stringaddress - The IP and netmask assigned to the cluster primary instance.
- datacenter
Id String - The datacenter the cluster is connected to.
- lan
Id String - The numeric LAN ID the cluster is connected to.
- primary
Instance StringAddress - The IP and netmask assigned to the cluster primary instance.
- datacenter
Id string - The datacenter the cluster is connected to.
- lan
Id string - The numeric LAN ID the cluster is connected to.
- primary
Instance stringAddress - The IP and netmask assigned to the cluster primary instance.
- datacenter_
id str - The datacenter the cluster is connected to.
- lan_
id str - The numeric LAN ID the cluster is connected to.
- primary_
instance_ straddress - The IP and netmask assigned to the cluster primary instance.
- datacenter
Id String - The datacenter the cluster is connected to.
- lan
Id String - The numeric LAN ID the cluster is connected to.
- primary
Instance StringAddress - The IP and netmask assigned to the cluster primary instance.
GetPSQLClustersV2ClusterInstances
- Cores int
- The number of CPU cores per instance.
- Count int
- The total number of instances in the cluster (one primary and n-1 secondary).
- Ram int
- The amount of memory per instance in gigabytes (GB).
- Storage
Size int - The amount of storage per instance in gigabytes (GB).
- Cores int
- The number of CPU cores per instance.
- Count int
- The total number of instances in the cluster (one primary and n-1 secondary).
- Ram int
- The amount of memory per instance in gigabytes (GB).
- Storage
Size int - The amount of storage per instance in gigabytes (GB).
- cores number
- The number of CPU cores per instance.
- count number
- The total number of instances in the cluster (one primary and n-1 secondary).
- ram number
- The amount of memory per instance in gigabytes (GB).
- storage_
size number - The amount of storage per instance in gigabytes (GB).
- cores Integer
- The number of CPU cores per instance.
- count Integer
- The total number of instances in the cluster (one primary and n-1 secondary).
- ram Integer
- The amount of memory per instance in gigabytes (GB).
- storage
Size Integer - The amount of storage per instance in gigabytes (GB).
- cores number
- The number of CPU cores per instance.
- count number
- The total number of instances in the cluster (one primary and n-1 secondary).
- ram number
- The amount of memory per instance in gigabytes (GB).
- storage
Size number - The amount of storage per instance in gigabytes (GB).
- cores int
- The number of CPU cores per instance.
- count int
- The total number of instances in the cluster (one primary and n-1 secondary).
- ram int
- The amount of memory per instance in gigabytes (GB).
- storage_
size int - The amount of storage per instance in gigabytes (GB).
- cores Number
- The number of CPU cores per instance.
- count Number
- The total number of instances in the cluster (one primary and n-1 secondary).
- ram Number
- The amount of memory per instance in gigabytes (GB).
- storage
Size Number - The amount of storage per instance in gigabytes (GB).
GetPSQLClustersV2ClusterMaintenanceWindow
- Day
Of stringThe Week - The name of the week day.
- Time string
- Start of the maintenance window in UTC time.
- Day
Of stringThe Week - The name of the week day.
- Time string
- Start of the maintenance window in UTC time.
- day_
of_ stringthe_ week - The name of the week day.
- time string
- Start of the maintenance window in UTC time.
- day
Of StringThe Week - The name of the week day.
- time String
- Start of the maintenance window in UTC time.
- day
Of stringThe Week - The name of the week day.
- time string
- Start of the maintenance window in UTC time.
- day_
of_ strthe_ week - The name of the week day.
- time str
- Start of the maintenance window in UTC time.
- day
Of StringThe Week - The name of the week day.
- time String
- Start of the maintenance window in UTC 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.1
published on Wednesday, Jun 10, 2026 by ionos-cloud
published on Wednesday, Jun 10, 2026 by ionos-cloud