1. Packages
  2. Packages
  3. Ionoscloud
  4. API Docs
  5. dbaas
  6. PSQLClusterV2
Viewing docs for IonosCloud v0.3.1
published on Wednesday, Jun 10, 2026 by ionos-cloud
ionoscloud logo
Viewing docs for IonosCloud v0.3.1
published on Wednesday, Jun 10, 2026 by ionos-cloud

    Manages a DBaaS PostgreSQL v2 Cluster.

    Create PSQLClusterV2 Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new PSQLClusterV2(name: string, args: PSQLClusterV2Args, opts?: CustomResourceOptions);
    @overload
    def PSQLClusterV2(resource_name: str,
                      args: PSQLClusterV2Args,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def PSQLClusterV2(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      location: Optional[str] = None,
                      backup: Optional[PSQLClusterV2BackupArgs] = None,
                      connections: Optional[PSQLClusterV2ConnectionsArgs] = None,
                      credentials: Optional[PSQLClusterV2CredentialsArgs] = None,
                      version: Optional[str] = None,
                      instances: Optional[PSQLClusterV2InstancesArgs] = None,
                      replication_mode: Optional[str] = None,
                      maintenance_window: Optional[PSQLClusterV2MaintenanceWindowArgs] = None,
                      name: Optional[str] = None,
                      metrics_enabled: Optional[bool] = None,
                      logs_enabled: Optional[bool] = None,
                      connection_pooler: Optional[str] = None,
                      restore_from_backup: Optional[PSQLClusterV2RestoreFromBackupArgs] = None,
                      timeouts: Optional[PSQLClusterV2TimeoutsArgs] = None,
                      description: Optional[str] = None)
    func NewPSQLClusterV2(ctx *Context, name string, args PSQLClusterV2Args, opts ...ResourceOption) (*PSQLClusterV2, error)
    public PSQLClusterV2(string name, PSQLClusterV2Args args, CustomResourceOptions? opts = null)
    public PSQLClusterV2(String name, PSQLClusterV2Args args)
    public PSQLClusterV2(String name, PSQLClusterV2Args args, CustomResourceOptions options)
    
    type: ionoscloud:dbaas:PSQLClusterV2
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "ionoscloud_dbaas_psqlclusterv2" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args PSQLClusterV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args PSQLClusterV2Args
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args PSQLClusterV2Args
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args PSQLClusterV2Args
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args PSQLClusterV2Args
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var psqlclusterV2Resource = new Ionoscloud.Dbaas.PSQLClusterV2("psqlclusterV2Resource", new()
    {
        Location = "string",
        Backup = new Ionoscloud.Dbaas.Inputs.PSQLClusterV2BackupArgs
        {
            Location = "string",
            RetentionDays = 0,
        },
        Connections = new Ionoscloud.Dbaas.Inputs.PSQLClusterV2ConnectionsArgs
        {
            DatacenterId = "string",
            LanId = "string",
            PrimaryInstanceAddress = "string",
        },
        Credentials = new Ionoscloud.Dbaas.Inputs.PSQLClusterV2CredentialsArgs
        {
            Database = "string",
            Password = "string",
            PasswordVersion = "string",
            Username = "string",
        },
        Version = "string",
        Instances = new Ionoscloud.Dbaas.Inputs.PSQLClusterV2InstancesArgs
        {
            Cores = 0,
            Count = 0,
            Ram = 0,
            StorageSize = 0,
        },
        ReplicationMode = "string",
        MaintenanceWindow = new Ionoscloud.Dbaas.Inputs.PSQLClusterV2MaintenanceWindowArgs
        {
            DayOfTheWeek = "string",
            Time = "string",
        },
        Name = "string",
        MetricsEnabled = false,
        LogsEnabled = false,
        ConnectionPooler = "string",
        RestoreFromBackup = new Ionoscloud.Dbaas.Inputs.PSQLClusterV2RestoreFromBackupArgs
        {
            SourceBackupId = "string",
            RecoveryTargetDatetime = "string",
        },
        Timeouts = new Ionoscloud.Dbaas.Inputs.PSQLClusterV2TimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Update = "string",
        },
        Description = "string",
    });
    
    example, err := dbaas.NewPSQLClusterV2(ctx, "psqlclusterV2Resource", &dbaas.PSQLClusterV2Args{
    	Location: pulumi.String("string"),
    	Backup: &dbaas.PSQLClusterV2BackupArgs{
    		Location:      pulumi.String("string"),
    		RetentionDays: pulumi.Int(0),
    	},
    	Connections: &dbaas.PSQLClusterV2ConnectionsArgs{
    		DatacenterId:           pulumi.String("string"),
    		LanId:                  pulumi.String("string"),
    		PrimaryInstanceAddress: pulumi.String("string"),
    	},
    	Credentials: &dbaas.PSQLClusterV2CredentialsArgs{
    		Database:        pulumi.String("string"),
    		Password:        pulumi.String("string"),
    		PasswordVersion: pulumi.String("string"),
    		Username:        pulumi.String("string"),
    	},
    	Version: pulumi.String("string"),
    	Instances: &dbaas.PSQLClusterV2InstancesArgs{
    		Cores:       pulumi.Int(0),
    		Count:       pulumi.Int(0),
    		Ram:         pulumi.Int(0),
    		StorageSize: pulumi.Int(0),
    	},
    	ReplicationMode: pulumi.String("string"),
    	MaintenanceWindow: &dbaas.PSQLClusterV2MaintenanceWindowArgs{
    		DayOfTheWeek: pulumi.String("string"),
    		Time:         pulumi.String("string"),
    	},
    	Name:             pulumi.String("string"),
    	MetricsEnabled:   pulumi.Bool(false),
    	LogsEnabled:      pulumi.Bool(false),
    	ConnectionPooler: pulumi.String("string"),
    	RestoreFromBackup: &dbaas.PSQLClusterV2RestoreFromBackupArgs{
    		SourceBackupId:         pulumi.String("string"),
    		RecoveryTargetDatetime: pulumi.String("string"),
    	},
    	Timeouts: &dbaas.PSQLClusterV2TimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    	Description: pulumi.String("string"),
    })
    
    resource "ionoscloud_dbaas_psqlclusterv2" "psqlclusterV2Resource" {
      location = "string"
      backup = {
        location       = "string"
        retention_days = 0
      }
      connections = {
        datacenter_id            = "string"
        lan_id                   = "string"
        primary_instance_address = "string"
      }
      credentials = {
        database         = "string"
        password         = "string"
        password_version = "string"
        username         = "string"
      }
      version = "string"
      instances = {
        cores        = 0
        count        = 0
        ram          = 0
        storage_size = 0
      }
      replication_mode = "string"
      maintenance_window = {
        day_of_the_week = "string"
        time            = "string"
      }
      name              = "string"
      metrics_enabled   = false
      logs_enabled      = false
      connection_pooler = "string"
      restore_from_backup = {
        source_backup_id         = "string"
        recovery_target_datetime = "string"
      }
      timeouts = {
        create = "string"
        delete = "string"
        update = "string"
      }
      description = "string"
    }
    
    var psqlclusterV2Resource = new PSQLClusterV2("psqlclusterV2Resource", PSQLClusterV2Args.builder()
        .location("string")
        .backup(PSQLClusterV2BackupArgs.builder()
            .location("string")
            .retentionDays(0)
            .build())
        .connections(PSQLClusterV2ConnectionsArgs.builder()
            .datacenterId("string")
            .lanId("string")
            .primaryInstanceAddress("string")
            .build())
        .credentials(PSQLClusterV2CredentialsArgs.builder()
            .database("string")
            .password("string")
            .passwordVersion("string")
            .username("string")
            .build())
        .version("string")
        .instances(PSQLClusterV2InstancesArgs.builder()
            .cores(0)
            .count(0)
            .ram(0)
            .storageSize(0)
            .build())
        .replicationMode("string")
        .maintenanceWindow(PSQLClusterV2MaintenanceWindowArgs.builder()
            .dayOfTheWeek("string")
            .time("string")
            .build())
        .name("string")
        .metricsEnabled(false)
        .logsEnabled(false)
        .connectionPooler("string")
        .restoreFromBackup(PSQLClusterV2RestoreFromBackupArgs.builder()
            .sourceBackupId("string")
            .recoveryTargetDatetime("string")
            .build())
        .timeouts(PSQLClusterV2TimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .update("string")
            .build())
        .description("string")
        .build());
    
    psqlcluster_v2_resource = ionoscloud.dbaas.PSQLClusterV2("psqlclusterV2Resource",
        location="string",
        backup={
            "location": "string",
            "retention_days": 0,
        },
        connections={
            "datacenter_id": "string",
            "lan_id": "string",
            "primary_instance_address": "string",
        },
        credentials={
            "database": "string",
            "password": "string",
            "password_version": "string",
            "username": "string",
        },
        version="string",
        instances={
            "cores": 0,
            "count": 0,
            "ram": 0,
            "storage_size": 0,
        },
        replication_mode="string",
        maintenance_window={
            "day_of_the_week": "string",
            "time": "string",
        },
        name="string",
        metrics_enabled=False,
        logs_enabled=False,
        connection_pooler="string",
        restore_from_backup={
            "source_backup_id": "string",
            "recovery_target_datetime": "string",
        },
        timeouts={
            "create": "string",
            "delete": "string",
            "update": "string",
        },
        description="string")
    
    const psqlclusterV2Resource = new ionoscloud.dbaas.PSQLClusterV2("psqlclusterV2Resource", {
        location: "string",
        backup: {
            location: "string",
            retentionDays: 0,
        },
        connections: {
            datacenterId: "string",
            lanId: "string",
            primaryInstanceAddress: "string",
        },
        credentials: {
            database: "string",
            password: "string",
            passwordVersion: "string",
            username: "string",
        },
        version: "string",
        instances: {
            cores: 0,
            count: 0,
            ram: 0,
            storageSize: 0,
        },
        replicationMode: "string",
        maintenanceWindow: {
            dayOfTheWeek: "string",
            time: "string",
        },
        name: "string",
        metricsEnabled: false,
        logsEnabled: false,
        connectionPooler: "string",
        restoreFromBackup: {
            sourceBackupId: "string",
            recoveryTargetDatetime: "string",
        },
        timeouts: {
            create: "string",
            "delete": "string",
            update: "string",
        },
        description: "string",
    });
    
    type: ionoscloud:dbaas:PSQLClusterV2
    properties:
        backup:
            location: string
            retentionDays: 0
        connectionPooler: string
        connections:
            datacenterId: string
            lanId: string
            primaryInstanceAddress: string
        credentials:
            database: string
            password: string
            passwordVersion: string
            username: string
        description: string
        instances:
            cores: 0
            count: 0
            ram: 0
            storageSize: 0
        location: string
        logsEnabled: false
        maintenanceWindow:
            dayOfTheWeek: string
            time: string
        metricsEnabled: false
        name: string
        replicationMode: string
        restoreFromBackup:
            recoveryTargetDatetime: string
            sourceBackupId: string
        timeouts:
            create: string
            delete: string
            update: string
        version: string
    

    PSQLClusterV2 Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The PSQLClusterV2 resource accepts the following input properties:

    Backup Ionoscloud.PSQLClusterV2Backup
    [object] Backup location and retention configuration.
    Connections Ionoscloud.PSQLClusterV2Connections
    [object] Connection information of the PostgreSQL cluster.
    Credentials Ionoscloud.PSQLClusterV2Credentials
    [object] Credentials for the master database user to be created.
    Instances Ionoscloud.PSQLClusterV2Instances
    [object] The instance configuration for the PostgreSQL cluster.
    Location string
    [string] The location of the PostgreSQL cluster. This is used for routing to the regional API endpoint. Changing this value will destroy the existing cluster and create a new one in the specified location. Available locations: de/fra, de/fra/2, de/txl, es/vit, fr/par, gb/bhx, gb/lhr, us/ewr, us/las, us/mci.
    MaintenanceWindow Ionoscloud.PSQLClusterV2MaintenanceWindow
    [object] A weekly 4 hour-long window, during which maintenance might occur.
    ReplicationMode string
    [string] Replication mode across the instances. Possible values: ASYNCHRONOUS, STRICTLY_SYNCHRONOUS.
    Version string
    [string] The PostgreSQL version of the cluster.
    ConnectionPooler string
    (Computed)[string] Defines how database connections are managed and reused. Possible values: DISABLED, TRANSACTION, SESSION.
    Description string
    [string] Human-readable description for the cluster.
    LogsEnabled bool
    (Computed)[bool] Enables or disables the collection and reporting of logs for observability of this cluster.
    MetricsEnabled bool
    (Computed)[bool] Enables or disables the collection and reporting of metrics for observability of this cluster.
    Name string
    [string] The name of the PostgreSQL cluster.
    RestoreFromBackup Ionoscloud.PSQLClusterV2RestoreFromBackup
    [object] Configures the cluster to be initialized with data from an existing backup.
    Timeouts Ionoscloud.PSQLClusterV2Timeouts
    Backup PSQLClusterV2BackupArgs
    [object] Backup location and retention configuration.
    Connections PSQLClusterV2ConnectionsArgs
    [object] Connection information of the PostgreSQL cluster.
    Credentials PSQLClusterV2CredentialsArgs
    [object] Credentials for the master database user to be created.
    Instances PSQLClusterV2InstancesArgs
    [object] The instance configuration for the PostgreSQL cluster.
    Location string
    [string] The location of the PostgreSQL cluster. This is used for routing to the regional API endpoint. Changing this value will destroy the existing cluster and create a new one in the specified location. Available locations: de/fra, de/fra/2, de/txl, es/vit, fr/par, gb/bhx, gb/lhr, us/ewr, us/las, us/mci.
    MaintenanceWindow PSQLClusterV2MaintenanceWindowArgs
    [object] A weekly 4 hour-long window, during which maintenance might occur.
    ReplicationMode string
    [string] Replication mode across the instances. Possible values: ASYNCHRONOUS, STRICTLY_SYNCHRONOUS.
    Version string
    [string] The PostgreSQL version of the cluster.
    ConnectionPooler string
    (Computed)[string] Defines how database connections are managed and reused. Possible values: DISABLED, TRANSACTION, SESSION.
    Description string
    [string] Human-readable description for the cluster.
    LogsEnabled bool
    (Computed)[bool] Enables or disables the collection and reporting of logs for observability of this cluster.
    MetricsEnabled bool
    (Computed)[bool] Enables or disables the collection and reporting of metrics for observability of this cluster.
    Name string
    [string] The name of the PostgreSQL cluster.
    RestoreFromBackup PSQLClusterV2RestoreFromBackupArgs
    [object] Configures the cluster to be initialized with data from an existing backup.
    Timeouts PSQLClusterV2TimeoutsArgs
    backup object
    [object] Backup location and retention configuration.
    connections object
    [object] Connection information of the PostgreSQL cluster.
    credentials object
    [object] Credentials for the master database user to be created.
    instances object
    [object] The instance configuration for the PostgreSQL cluster.
    location string
    [string] The location of the PostgreSQL cluster. This is used for routing to the regional API endpoint. Changing this value will destroy the existing cluster and create a new one in the specified location. Available locations: de/fra, de/fra/2, de/txl, es/vit, fr/par, gb/bhx, gb/lhr, us/ewr, us/las, us/mci.
    maintenance_window object
    [object] A weekly 4 hour-long window, during which maintenance might occur.
    replication_mode string
    [string] Replication mode across the instances. Possible values: ASYNCHRONOUS, STRICTLY_SYNCHRONOUS.
    version string
    [string] The PostgreSQL version of the cluster.
    connection_pooler string
    (Computed)[string] Defines how database connections are managed and reused. Possible values: DISABLED, TRANSACTION, SESSION.
    description string
    [string] Human-readable description for the cluster.
    logs_enabled bool
    (Computed)[bool] Enables or disables the collection and reporting of logs for observability of this cluster.
    metrics_enabled bool
    (Computed)[bool] Enables or disables the collection and reporting of metrics for observability of this cluster.
    name string
    [string] The name of the PostgreSQL cluster.
    restore_from_backup object
    [object] Configures the cluster to be initialized with data from an existing backup.
    timeouts object
    backup PSQLClusterV2Backup
    [object] Backup location and retention configuration.
    connections PSQLClusterV2Connections
    [object] Connection information of the PostgreSQL cluster.
    credentials PSQLClusterV2Credentials
    [object] Credentials for the master database user to be created.
    instances PSQLClusterV2Instances
    [object] The instance configuration for the PostgreSQL cluster.
    location String
    [string] The location of the PostgreSQL cluster. This is used for routing to the regional API endpoint. Changing this value will destroy the existing cluster and create a new one in the specified location. Available locations: de/fra, de/fra/2, de/txl, es/vit, fr/par, gb/bhx, gb/lhr, us/ewr, us/las, us/mci.
    maintenanceWindow PSQLClusterV2MaintenanceWindow
    [object] A weekly 4 hour-long window, during which maintenance might occur.
    replicationMode String
    [string] Replication mode across the instances. Possible values: ASYNCHRONOUS, STRICTLY_SYNCHRONOUS.
    version String
    [string] The PostgreSQL version of the cluster.
    connectionPooler String
    (Computed)[string] Defines how database connections are managed and reused. Possible values: DISABLED, TRANSACTION, SESSION.
    description String
    [string] Human-readable description for the cluster.
    logsEnabled Boolean
    (Computed)[bool] Enables or disables the collection and reporting of logs for observability of this cluster.
    metricsEnabled Boolean
    (Computed)[bool] Enables or disables the collection and reporting of metrics for observability of this cluster.
    name String
    [string] The name of the PostgreSQL cluster.
    restoreFromBackup PSQLClusterV2RestoreFromBackup
    [object] Configures the cluster to be initialized with data from an existing backup.
    timeouts PSQLClusterV2Timeouts
    backup PSQLClusterV2Backup
    [object] Backup location and retention configuration.
    connections PSQLClusterV2Connections
    [object] Connection information of the PostgreSQL cluster.
    credentials PSQLClusterV2Credentials
    [object] Credentials for the master database user to be created.
    instances PSQLClusterV2Instances
    [object] The instance configuration for the PostgreSQL cluster.
    location string
    [string] The location of the PostgreSQL cluster. This is used for routing to the regional API endpoint. Changing this value will destroy the existing cluster and create a new one in the specified location. Available locations: de/fra, de/fra/2, de/txl, es/vit, fr/par, gb/bhx, gb/lhr, us/ewr, us/las, us/mci.
    maintenanceWindow PSQLClusterV2MaintenanceWindow
    [object] A weekly 4 hour-long window, during which maintenance might occur.
    replicationMode string
    [string] Replication mode across the instances. Possible values: ASYNCHRONOUS, STRICTLY_SYNCHRONOUS.
    version string
    [string] The PostgreSQL version of the cluster.
    connectionPooler string
    (Computed)[string] Defines how database connections are managed and reused. Possible values: DISABLED, TRANSACTION, SESSION.
    description string
    [string] Human-readable description for the cluster.
    logsEnabled boolean
    (Computed)[bool] Enables or disables the collection and reporting of logs for observability of this cluster.
    metricsEnabled boolean
    (Computed)[bool] Enables or disables the collection and reporting of metrics for observability of this cluster.
    name string
    [string] The name of the PostgreSQL cluster.
    restoreFromBackup PSQLClusterV2RestoreFromBackup
    [object] Configures the cluster to be initialized with data from an existing backup.
    timeouts PSQLClusterV2Timeouts
    backup PSQLClusterV2BackupArgs
    [object] Backup location and retention configuration.
    connections PSQLClusterV2ConnectionsArgs
    [object] Connection information of the PostgreSQL cluster.
    credentials PSQLClusterV2CredentialsArgs
    [object] Credentials for the master database user to be created.
    instances PSQLClusterV2InstancesArgs
    [object] The instance configuration for the PostgreSQL cluster.
    location str
    [string] The location of the PostgreSQL cluster. This is used for routing to the regional API endpoint. Changing this value will destroy the existing cluster and create a new one in the specified location. Available locations: de/fra, de/fra/2, de/txl, es/vit, fr/par, gb/bhx, gb/lhr, us/ewr, us/las, us/mci.
    maintenance_window PSQLClusterV2MaintenanceWindowArgs
    [object] A weekly 4 hour-long window, during which maintenance might occur.
    replication_mode str
    [string] Replication mode across the instances. Possible values: ASYNCHRONOUS, STRICTLY_SYNCHRONOUS.
    version str
    [string] The PostgreSQL version of the cluster.
    connection_pooler str
    (Computed)[string] Defines how database connections are managed and reused. Possible values: DISABLED, TRANSACTION, SESSION.
    description str
    [string] Human-readable description for the cluster.
    logs_enabled bool
    (Computed)[bool] Enables or disables the collection and reporting of logs for observability of this cluster.
    metrics_enabled bool
    (Computed)[bool] Enables or disables the collection and reporting of metrics for observability of this cluster.
    name str
    [string] The name of the PostgreSQL cluster.
    restore_from_backup PSQLClusterV2RestoreFromBackupArgs
    [object] Configures the cluster to be initialized with data from an existing backup.
    timeouts PSQLClusterV2TimeoutsArgs
    backup Property Map
    [object] Backup location and retention configuration.
    connections Property Map
    [object] Connection information of the PostgreSQL cluster.
    credentials Property Map
    [object] Credentials for the master database user to be created.
    instances Property Map
    [object] The instance configuration for the PostgreSQL cluster.
    location String
    [string] The location of the PostgreSQL cluster. This is used for routing to the regional API endpoint. Changing this value will destroy the existing cluster and create a new one in the specified location. Available locations: de/fra, de/fra/2, de/txl, es/vit, fr/par, gb/bhx, gb/lhr, us/ewr, us/las, us/mci.
    maintenanceWindow Property Map
    [object] A weekly 4 hour-long window, during which maintenance might occur.
    replicationMode String
    [string] Replication mode across the instances. Possible values: ASYNCHRONOUS, STRICTLY_SYNCHRONOUS.
    version String
    [string] The PostgreSQL version of the cluster.
    connectionPooler String
    (Computed)[string] Defines how database connections are managed and reused. Possible values: DISABLED, TRANSACTION, SESSION.
    description String
    [string] Human-readable description for the cluster.
    logsEnabled Boolean
    (Computed)[bool] Enables or disables the collection and reporting of logs for observability of this cluster.
    metricsEnabled Boolean
    (Computed)[bool] Enables or disables the collection and reporting of metrics for observability of this cluster.
    name String
    [string] The name of the PostgreSQL cluster.
    restoreFromBackup Property Map
    [object] Configures the cluster to be initialized with data from an existing backup.
    timeouts Property Map

    Outputs

    All input properties are implicitly available as output properties. Additionally, the PSQLClusterV2 resource produces the following output properties:

    DnsName string
    [string] The DNS name used to access the cluster.
    Id string
    The provider-assigned unique ID for this managed resource.
    DnsName string
    [string] The DNS name used to access the cluster.
    Id string
    The provider-assigned unique ID for this managed resource.
    dns_name string
    [string] The DNS name used to access the cluster.
    id string
    The provider-assigned unique ID for this managed resource.
    dnsName String
    [string] The DNS name used to access the cluster.
    id String
    The provider-assigned unique ID for this managed resource.
    dnsName string
    [string] The DNS name used to access the cluster.
    id string
    The provider-assigned unique ID for this managed resource.
    dns_name str
    [string] The DNS name used to access the cluster.
    id str
    The provider-assigned unique ID for this managed resource.
    dnsName String
    [string] The DNS name used to access the cluster.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing PSQLClusterV2 Resource

    Get an existing PSQLClusterV2 resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.

    public static get(name: string, id: Input<ID>, state?: PSQLClusterV2State, opts?: CustomResourceOptions): PSQLClusterV2
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            backup: Optional[PSQLClusterV2BackupArgs] = None,
            connection_pooler: Optional[str] = None,
            connections: Optional[PSQLClusterV2ConnectionsArgs] = None,
            credentials: Optional[PSQLClusterV2CredentialsArgs] = None,
            description: Optional[str] = None,
            dns_name: Optional[str] = None,
            instances: Optional[PSQLClusterV2InstancesArgs] = None,
            location: Optional[str] = None,
            logs_enabled: Optional[bool] = None,
            maintenance_window: Optional[PSQLClusterV2MaintenanceWindowArgs] = None,
            metrics_enabled: Optional[bool] = None,
            name: Optional[str] = None,
            replication_mode: Optional[str] = None,
            restore_from_backup: Optional[PSQLClusterV2RestoreFromBackupArgs] = None,
            timeouts: Optional[PSQLClusterV2TimeoutsArgs] = None,
            version: Optional[str] = None) -> PSQLClusterV2
    func GetPSQLClusterV2(ctx *Context, name string, id IDInput, state *PSQLClusterV2State, opts ...ResourceOption) (*PSQLClusterV2, error)
    public static PSQLClusterV2 Get(string name, Input<string> id, PSQLClusterV2State? state, CustomResourceOptions? opts = null)
    public static PSQLClusterV2 get(String name, Output<String> id, PSQLClusterV2State state, CustomResourceOptions options)
    resources:  _:    type: ionoscloud:dbaas:PSQLClusterV2    get:      id: ${id}
    import {
      to = ionoscloud_dbaas_psqlclusterv2.example
      id = "${id}"
    }
    
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    resource_name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    name
    The unique name of the resulting resource.
    id
    The unique provider ID of the resource to lookup.
    state
    Any extra arguments used during the lookup.
    opts
    A bag of options that control this resource's behavior.
    The following state arguments are supported:
    Backup Ionoscloud.PSQLClusterV2Backup
    [object] Backup location and retention configuration.
    ConnectionPooler string
    (Computed)[string] Defines how database connections are managed and reused. Possible values: DISABLED, TRANSACTION, SESSION.
    Connections Ionoscloud.PSQLClusterV2Connections
    [object] Connection information of the PostgreSQL cluster.
    Credentials Ionoscloud.PSQLClusterV2Credentials
    [object] Credentials for the master database user to be created.
    Description string
    [string] Human-readable description for the cluster.
    DnsName string
    [string] The DNS name used to access the cluster.
    Instances Ionoscloud.PSQLClusterV2Instances
    [object] The instance configuration for the PostgreSQL cluster.
    Location string
    [string] The location of the PostgreSQL cluster. This is used for routing to the regional API endpoint. Changing this value will destroy the existing cluster and create a new one in the specified location. Available locations: de/fra, de/fra/2, de/txl, es/vit, fr/par, gb/bhx, gb/lhr, us/ewr, us/las, us/mci.
    LogsEnabled bool
    (Computed)[bool] Enables or disables the collection and reporting of logs for observability of this cluster.
    MaintenanceWindow Ionoscloud.PSQLClusterV2MaintenanceWindow
    [object] A weekly 4 hour-long window, during which maintenance might occur.
    MetricsEnabled bool
    (Computed)[bool] Enables or disables the collection and reporting of metrics for observability of this cluster.
    Name string
    [string] The name of the PostgreSQL cluster.
    ReplicationMode string
    [string] Replication mode across the instances. Possible values: ASYNCHRONOUS, STRICTLY_SYNCHRONOUS.
    RestoreFromBackup Ionoscloud.PSQLClusterV2RestoreFromBackup
    [object] Configures the cluster to be initialized with data from an existing backup.
    Timeouts Ionoscloud.PSQLClusterV2Timeouts
    Version string
    [string] The PostgreSQL version of the cluster.
    Backup PSQLClusterV2BackupArgs
    [object] Backup location and retention configuration.
    ConnectionPooler string
    (Computed)[string] Defines how database connections are managed and reused. Possible values: DISABLED, TRANSACTION, SESSION.
    Connections PSQLClusterV2ConnectionsArgs
    [object] Connection information of the PostgreSQL cluster.
    Credentials PSQLClusterV2CredentialsArgs
    [object] Credentials for the master database user to be created.
    Description string
    [string] Human-readable description for the cluster.
    DnsName string
    [string] The DNS name used to access the cluster.
    Instances PSQLClusterV2InstancesArgs
    [object] The instance configuration for the PostgreSQL cluster.
    Location string
    [string] The location of the PostgreSQL cluster. This is used for routing to the regional API endpoint. Changing this value will destroy the existing cluster and create a new one in the specified location. Available locations: de/fra, de/fra/2, de/txl, es/vit, fr/par, gb/bhx, gb/lhr, us/ewr, us/las, us/mci.
    LogsEnabled bool
    (Computed)[bool] Enables or disables the collection and reporting of logs for observability of this cluster.
    MaintenanceWindow PSQLClusterV2MaintenanceWindowArgs
    [object] A weekly 4 hour-long window, during which maintenance might occur.
    MetricsEnabled bool
    (Computed)[bool] Enables or disables the collection and reporting of metrics for observability of this cluster.
    Name string
    [string] The name of the PostgreSQL cluster.
    ReplicationMode string
    [string] Replication mode across the instances. Possible values: ASYNCHRONOUS, STRICTLY_SYNCHRONOUS.
    RestoreFromBackup PSQLClusterV2RestoreFromBackupArgs
    [object] Configures the cluster to be initialized with data from an existing backup.
    Timeouts PSQLClusterV2TimeoutsArgs
    Version string
    [string] The PostgreSQL version of the cluster.
    backup object
    [object] Backup location and retention configuration.
    connection_pooler string
    (Computed)[string] Defines how database connections are managed and reused. Possible values: DISABLED, TRANSACTION, SESSION.
    connections object
    [object] Connection information of the PostgreSQL cluster.
    credentials object
    [object] Credentials for the master database user to be created.
    description string
    [string] Human-readable description for the cluster.
    dns_name string
    [string] The DNS name used to access the cluster.
    instances object
    [object] The instance configuration for the PostgreSQL cluster.
    location string
    [string] The location of the PostgreSQL cluster. This is used for routing to the regional API endpoint. Changing this value will destroy the existing cluster and create a new one in the specified location. 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
    (Computed)[bool] Enables or disables the collection and reporting of logs for observability of this cluster.
    maintenance_window object
    [object] A weekly 4 hour-long window, during which maintenance might occur.
    metrics_enabled bool
    (Computed)[bool] Enables or disables the collection and reporting of metrics for observability of this cluster.
    name string
    [string] The name of the PostgreSQL cluster.
    replication_mode string
    [string] Replication mode across the instances. Possible values: ASYNCHRONOUS, STRICTLY_SYNCHRONOUS.
    restore_from_backup object
    [object] Configures the cluster to be initialized with data from an existing backup.
    timeouts object
    version string
    [string] The PostgreSQL version of the cluster.
    backup PSQLClusterV2Backup
    [object] Backup location and retention configuration.
    connectionPooler String
    (Computed)[string] Defines how database connections are managed and reused. Possible values: DISABLED, TRANSACTION, SESSION.
    connections PSQLClusterV2Connections
    [object] Connection information of the PostgreSQL cluster.
    credentials PSQLClusterV2Credentials
    [object] Credentials for the master database user to be created.
    description String
    [string] Human-readable description for the cluster.
    dnsName String
    [string] The DNS name used to access the cluster.
    instances PSQLClusterV2Instances
    [object] The instance configuration for the PostgreSQL cluster.
    location String
    [string] The location of the PostgreSQL cluster. This is used for routing to the regional API endpoint. Changing this value will destroy the existing cluster and create a new one in the specified location. Available locations: de/fra, de/fra/2, de/txl, es/vit, fr/par, gb/bhx, gb/lhr, us/ewr, us/las, us/mci.
    logsEnabled Boolean
    (Computed)[bool] Enables or disables the collection and reporting of logs for observability of this cluster.
    maintenanceWindow PSQLClusterV2MaintenanceWindow
    [object] A weekly 4 hour-long window, during which maintenance might occur.
    metricsEnabled Boolean
    (Computed)[bool] Enables or disables the collection and reporting of metrics for observability of this cluster.
    name String
    [string] The name of the PostgreSQL cluster.
    replicationMode String
    [string] Replication mode across the instances. Possible values: ASYNCHRONOUS, STRICTLY_SYNCHRONOUS.
    restoreFromBackup PSQLClusterV2RestoreFromBackup
    [object] Configures the cluster to be initialized with data from an existing backup.
    timeouts PSQLClusterV2Timeouts
    version String
    [string] The PostgreSQL version of the cluster.
    backup PSQLClusterV2Backup
    [object] Backup location and retention configuration.
    connectionPooler string
    (Computed)[string] Defines how database connections are managed and reused. Possible values: DISABLED, TRANSACTION, SESSION.
    connections PSQLClusterV2Connections
    [object] Connection information of the PostgreSQL cluster.
    credentials PSQLClusterV2Credentials
    [object] Credentials for the master database user to be created.
    description string
    [string] Human-readable description for the cluster.
    dnsName string
    [string] The DNS name used to access the cluster.
    instances PSQLClusterV2Instances
    [object] The instance configuration for the PostgreSQL cluster.
    location string
    [string] The location of the PostgreSQL cluster. This is used for routing to the regional API endpoint. Changing this value will destroy the existing cluster and create a new one in the specified location. Available locations: de/fra, de/fra/2, de/txl, es/vit, fr/par, gb/bhx, gb/lhr, us/ewr, us/las, us/mci.
    logsEnabled boolean
    (Computed)[bool] Enables or disables the collection and reporting of logs for observability of this cluster.
    maintenanceWindow PSQLClusterV2MaintenanceWindow
    [object] A weekly 4 hour-long window, during which maintenance might occur.
    metricsEnabled boolean
    (Computed)[bool] Enables or disables the collection and reporting of metrics for observability of this cluster.
    name string
    [string] The name of the PostgreSQL cluster.
    replicationMode string
    [string] Replication mode across the instances. Possible values: ASYNCHRONOUS, STRICTLY_SYNCHRONOUS.
    restoreFromBackup PSQLClusterV2RestoreFromBackup
    [object] Configures the cluster to be initialized with data from an existing backup.
    timeouts PSQLClusterV2Timeouts
    version string
    [string] The PostgreSQL version of the cluster.
    backup PSQLClusterV2BackupArgs
    [object] Backup location and retention configuration.
    connection_pooler str
    (Computed)[string] Defines how database connections are managed and reused. Possible values: DISABLED, TRANSACTION, SESSION.
    connections PSQLClusterV2ConnectionsArgs
    [object] Connection information of the PostgreSQL cluster.
    credentials PSQLClusterV2CredentialsArgs
    [object] Credentials for the master database user to be created.
    description str
    [string] Human-readable description for the cluster.
    dns_name str
    [string] The DNS name used to access the cluster.
    instances PSQLClusterV2InstancesArgs
    [object] The instance configuration for the PostgreSQL cluster.
    location str
    [string] The location of the PostgreSQL cluster. This is used for routing to the regional API endpoint. Changing this value will destroy the existing cluster and create a new one in the specified location. 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
    (Computed)[bool] Enables or disables the collection and reporting of logs for observability of this cluster.
    maintenance_window PSQLClusterV2MaintenanceWindowArgs
    [object] A weekly 4 hour-long window, during which maintenance might occur.
    metrics_enabled bool
    (Computed)[bool] Enables or disables the collection and reporting of metrics for observability of this cluster.
    name str
    [string] The name of the PostgreSQL cluster.
    replication_mode str
    [string] Replication mode across the instances. Possible values: ASYNCHRONOUS, STRICTLY_SYNCHRONOUS.
    restore_from_backup PSQLClusterV2RestoreFromBackupArgs
    [object] Configures the cluster to be initialized with data from an existing backup.
    timeouts PSQLClusterV2TimeoutsArgs
    version str
    [string] The PostgreSQL version of the cluster.
    backup Property Map
    [object] Backup location and retention configuration.
    connectionPooler String
    (Computed)[string] Defines how database connections are managed and reused. Possible values: DISABLED, TRANSACTION, SESSION.
    connections Property Map
    [object] Connection information of the PostgreSQL cluster.
    credentials Property Map
    [object] Credentials for the master database user to be created.
    description String
    [string] Human-readable description for the cluster.
    dnsName String
    [string] The DNS name used to access the cluster.
    instances Property Map
    [object] The instance configuration for the PostgreSQL cluster.
    location String
    [string] The location of the PostgreSQL cluster. This is used for routing to the regional API endpoint. Changing this value will destroy the existing cluster and create a new one in the specified location. Available locations: de/fra, de/fra/2, de/txl, es/vit, fr/par, gb/bhx, gb/lhr, us/ewr, us/las, us/mci.
    logsEnabled Boolean
    (Computed)[bool] Enables or disables the collection and reporting of logs for observability of this cluster.
    maintenanceWindow Property Map
    [object] A weekly 4 hour-long window, during which maintenance might occur.
    metricsEnabled Boolean
    (Computed)[bool] Enables or disables the collection and reporting of metrics for observability of this cluster.
    name String
    [string] The name of the PostgreSQL cluster.
    replicationMode String
    [string] Replication mode across the instances. Possible values: ASYNCHRONOUS, STRICTLY_SYNCHRONOUS.
    restoreFromBackup Property Map
    [object] Configures the cluster to be initialized with data from an existing backup.
    timeouts Property Map
    version String
    [string] The PostgreSQL version of the cluster.

    Supporting Types

    PSQLClusterV2Backup, PSQLClusterV2BackupArgs

    Location string
    [string] The Object Storage location where the backups will be created. Supported locations are provided by the ionoscloud.dbaas.getPSQLBackupLocationV2 data source. Immutable — changing this forces a new cluster.
    RetentionDays int
    [int] How many days cluster backups are retained.
    Location string
    [string] The Object Storage location where the backups will be created. Supported locations are provided by the ionoscloud.dbaas.getPSQLBackupLocationV2 data source. Immutable — changing this forces a new cluster.
    RetentionDays int
    [int] How many days cluster backups are retained.
    location string
    [string] The Object Storage location where the backups will be created. Supported locations are provided by the ionoscloud.dbaas.getPSQLBackupLocationV2 data source. Immutable — changing this forces a new cluster.
    retention_days number
    [int] How many days cluster backups are retained.
    location String
    [string] The Object Storage location where the backups will be created. Supported locations are provided by the ionoscloud.dbaas.getPSQLBackupLocationV2 data source. Immutable — changing this forces a new cluster.
    retentionDays Integer
    [int] How many days cluster backups are retained.
    location string
    [string] The Object Storage location where the backups will be created. Supported locations are provided by the ionoscloud.dbaas.getPSQLBackupLocationV2 data source. Immutable — changing this forces a new cluster.
    retentionDays number
    [int] How many days cluster backups are retained.
    location str
    [string] The Object Storage location where the backups will be created. Supported locations are provided by the ionoscloud.dbaas.getPSQLBackupLocationV2 data source. Immutable — changing this forces a new cluster.
    retention_days int
    [int] How many days cluster backups are retained.
    location String
    [string] The Object Storage location where the backups will be created. Supported locations are provided by the ionoscloud.dbaas.getPSQLBackupLocationV2 data source. Immutable — changing this forces a new cluster.
    retentionDays Number
    [int] How many days cluster backups are retained.

    PSQLClusterV2Connections, PSQLClusterV2ConnectionsArgs

    DatacenterId string
    [string] The datacenter to connect your instance to.
    LanId string
    [string] The numeric LAN ID to connect your instance to.
    PrimaryInstanceAddress string
    [string] The IP and netmask that will be assigned to the cluster primary instance.
    DatacenterId string
    [string] The datacenter to connect your instance to.
    LanId string
    [string] The numeric LAN ID to connect your instance to.
    PrimaryInstanceAddress string
    [string] The IP and netmask that will be assigned to the cluster primary instance.
    datacenter_id string
    [string] The datacenter to connect your instance to.
    lan_id string
    [string] The numeric LAN ID to connect your instance to.
    primary_instance_address string
    [string] The IP and netmask that will be assigned to the cluster primary instance.
    datacenterId String
    [string] The datacenter to connect your instance to.
    lanId String
    [string] The numeric LAN ID to connect your instance to.
    primaryInstanceAddress String
    [string] The IP and netmask that will be assigned to the cluster primary instance.
    datacenterId string
    [string] The datacenter to connect your instance to.
    lanId string
    [string] The numeric LAN ID to connect your instance to.
    primaryInstanceAddress string
    [string] The IP and netmask that will be assigned to the cluster primary instance.
    datacenter_id str
    [string] The datacenter to connect your instance to.
    lan_id str
    [string] The numeric LAN ID to connect your instance to.
    primary_instance_address str
    [string] The IP and netmask that will be assigned to the cluster primary instance.
    datacenterId String
    [string] The datacenter to connect your instance to.
    lanId String
    [string] The numeric LAN ID to connect your instance to.
    primaryInstanceAddress String
    [string] The IP and netmask that will be assigned to the cluster primary instance.

    PSQLClusterV2Credentials, PSQLClusterV2CredentialsArgs

    Database string
    [string] The name of the initial database to be created.
    Password string
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. [string] The password for the master database user. This value is never stored in Terraform state. Requires Terraform 1.11+.
    PasswordVersion string
    [string] An arbitrary string (e.g. "1", "2") stored in Terraform state solely to trigger password updates. Increment this value whenever the write-only password field changes so Terraform detects a diff and sends the new password to the API.
    Username string
    [string] The username of the master database user.
    Database string
    [string] The name of the initial database to be created.
    Password string
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. [string] The password for the master database user. This value is never stored in Terraform state. Requires Terraform 1.11+.
    PasswordVersion string
    [string] An arbitrary string (e.g. "1", "2") stored in Terraform state solely to trigger password updates. Increment this value whenever the write-only password field changes so Terraform detects a diff and sends the new password to the API.
    Username string
    [string] The username of the master database user.
    database string
    [string] The name of the initial database to be created.
    password string
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. [string] The password for the master database user. This value is never stored in Terraform state. Requires Terraform 1.11+.
    password_version string
    [string] An arbitrary string (e.g. "1", "2") stored in Terraform state solely to trigger password updates. Increment this value whenever the write-only password field changes so Terraform detects a diff and sends the new password to the API.
    username string
    [string] The username of the master database user.
    database String
    [string] The name of the initial database to be created.
    password String
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. [string] The password for the master database user. This value is never stored in Terraform state. Requires Terraform 1.11+.
    passwordVersion String
    [string] An arbitrary string (e.g. "1", "2") stored in Terraform state solely to trigger password updates. Increment this value whenever the write-only password field changes so Terraform detects a diff and sends the new password to the API.
    username String
    [string] The username of the master database user.
    database string
    [string] The name of the initial database to be created.
    password string
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. [string] The password for the master database user. This value is never stored in Terraform state. Requires Terraform 1.11+.
    passwordVersion string
    [string] An arbitrary string (e.g. "1", "2") stored in Terraform state solely to trigger password updates. Increment this value whenever the write-only password field changes so Terraform detects a diff and sends the new password to the API.
    username string
    [string] The username of the master database user.
    database str
    [string] The name of the initial database to be created.
    password str
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. [string] The password for the master database user. This value is never stored in Terraform state. Requires Terraform 1.11+.
    password_version str
    [string] An arbitrary string (e.g. "1", "2") stored in Terraform state solely to trigger password updates. Increment this value whenever the write-only password field changes so Terraform detects a diff and sends the new password to the API.
    username str
    [string] The username of the master database user.
    database String
    [string] The name of the initial database to be created.
    password String
    NOTE: This field is write-only and its value will not be updated in state as part of read operations. [string] The password for the master database user. This value is never stored in Terraform state. Requires Terraform 1.11+.
    passwordVersion String
    [string] An arbitrary string (e.g. "1", "2") stored in Terraform state solely to trigger password updates. Increment this value whenever the write-only password field changes so Terraform detects a diff and sends the new password to the API.
    username String
    [string] The username of the master database user.

    PSQLClusterV2Instances, PSQLClusterV2InstancesArgs

    Cores int
    [int] The number of CPU cores per instance.
    Count int
    [int] The total number of instances in the cluster (one primary and n-1 secondary).
    Ram int
    [int] The amount of memory per instance in gigabytes (GB).
    StorageSize int
    [int] The amount of storage per instance in gigabytes (GB).
    Cores int
    [int] The number of CPU cores per instance.
    Count int
    [int] The total number of instances in the cluster (one primary and n-1 secondary).
    Ram int
    [int] The amount of memory per instance in gigabytes (GB).
    StorageSize int
    [int] The amount of storage per instance in gigabytes (GB).
    cores number
    [int] The number of CPU cores per instance.
    count number
    [int] The total number of instances in the cluster (one primary and n-1 secondary).
    ram number
    [int] The amount of memory per instance in gigabytes (GB).
    storage_size number
    [int] The amount of storage per instance in gigabytes (GB).
    cores Integer
    [int] The number of CPU cores per instance.
    count Integer
    [int] The total number of instances in the cluster (one primary and n-1 secondary).
    ram Integer
    [int] The amount of memory per instance in gigabytes (GB).
    storageSize Integer
    [int] The amount of storage per instance in gigabytes (GB).
    cores number
    [int] The number of CPU cores per instance.
    count number
    [int] The total number of instances in the cluster (one primary and n-1 secondary).
    ram number
    [int] The amount of memory per instance in gigabytes (GB).
    storageSize number
    [int] The amount of storage per instance in gigabytes (GB).
    cores int
    [int] The number of CPU cores per instance.
    count int
    [int] The total number of instances in the cluster (one primary and n-1 secondary).
    ram int
    [int] The amount of memory per instance in gigabytes (GB).
    storage_size int
    [int] The amount of storage per instance in gigabytes (GB).
    cores Number
    [int] The number of CPU cores per instance.
    count Number
    [int] The total number of instances in the cluster (one primary and n-1 secondary).
    ram Number
    [int] The amount of memory per instance in gigabytes (GB).
    storageSize Number
    [int] The amount of storage per instance in gigabytes (GB).

    PSQLClusterV2MaintenanceWindow, PSQLClusterV2MaintenanceWindowArgs

    DayOfTheWeek string
    [string] The name of the week day.
    Time string
    [string] Start of the maintenance window in UTC time.
    DayOfTheWeek string
    [string] The name of the week day.
    Time string
    [string] Start of the maintenance window in UTC time.
    day_of_the_week string
    [string] The name of the week day.
    time string
    [string] Start of the maintenance window in UTC time.
    dayOfTheWeek String
    [string] The name of the week day.
    time String
    [string] Start of the maintenance window in UTC time.
    dayOfTheWeek string
    [string] The name of the week day.
    time string
    [string] Start of the maintenance window in UTC time.
    day_of_the_week str
    [string] The name of the week day.
    time str
    [string] Start of the maintenance window in UTC time.
    dayOfTheWeek String
    [string] The name of the week day.
    time String
    [string] Start of the maintenance window in UTC time.

    PSQLClusterV2RestoreFromBackup, PSQLClusterV2RestoreFromBackupArgs

    SourceBackupId string
    [string] The UUID of the backup to restore data from. Immutable — changing this forces a new cluster.
    RecoveryTargetDatetime string
    [string] If supplied as ISO 8601 timestamp, the backup will be replayed up until the given timestamp. If empty, the backup will be applied completely.
    SourceBackupId string
    [string] The UUID of the backup to restore data from. Immutable — changing this forces a new cluster.
    RecoveryTargetDatetime string
    [string] If supplied as ISO 8601 timestamp, the backup will be replayed up until the given timestamp. If empty, the backup will be applied completely.
    source_backup_id string
    [string] The UUID of the backup to restore data from. Immutable — changing this forces a new cluster.
    recovery_target_datetime string
    [string] If supplied as ISO 8601 timestamp, the backup will be replayed up until the given timestamp. If empty, the backup will be applied completely.
    sourceBackupId String
    [string] The UUID of the backup to restore data from. Immutable — changing this forces a new cluster.
    recoveryTargetDatetime String
    [string] If supplied as ISO 8601 timestamp, the backup will be replayed up until the given timestamp. If empty, the backup will be applied completely.
    sourceBackupId string
    [string] The UUID of the backup to restore data from. Immutable — changing this forces a new cluster.
    recoveryTargetDatetime string
    [string] If supplied as ISO 8601 timestamp, the backup will be replayed up until the given timestamp. If empty, the backup will be applied completely.
    source_backup_id str
    [string] The UUID of the backup to restore data from. Immutable — changing this forces a new cluster.
    recovery_target_datetime str
    [string] If supplied as ISO 8601 timestamp, the backup will be replayed up until the given timestamp. If empty, the backup will be applied completely.
    sourceBackupId String
    [string] The UUID of the backup to restore data from. Immutable — changing this forces a new cluster.
    recoveryTargetDatetime String
    [string] If supplied as ISO 8601 timestamp, the backup will be replayed up until the given timestamp. If empty, the backup will be applied completely.

    PSQLClusterV2Timeouts, PSQLClusterV2TimeoutsArgs

    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    Update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    Delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    Update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    update String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    update string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    update str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    create String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).
    delete String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Setting a timeout for a Delete operation is only applicable if changes are saved into state before the destroy operation occurs.
    update String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours).

    Import

    Resource DBaaS PostgreSQL v2 Cluster can be imported using the format location:cluster_id, e.g.

    $ pulumi import ionoscloud:dbaas/pSQLClusterV2:PSQLClusterV2 mycluster de/txl:cluster_uuid
    

    To learn more about importing existing cloud resources, see Importing resources.

    Package Details

    Repository
    ionoscloud ionos-cloud/pulumi-ionoscloud
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the ionoscloud Terraform Provider.
    ionoscloud logo
    Viewing docs for IonosCloud v0.3.1
    published on Wednesday, Jun 10, 2026 by ionos-cloud

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial