1. Packages
  2. Exoscale
  3. API Docs
  4. DbaasPgDatabase
Exoscale v0.66.1 published on Tuesday, Nov 4, 2025 by Pulumiverse

exoscale.DbaasPgDatabase

Start a Neo task
Explain and create an exoscale.DbaasPgDatabase resource
exoscale logo
Exoscale v0.66.1 published on Tuesday, Nov 4, 2025 by Pulumiverse

    ❗ Manage service database for a PostgreSQL Exoscale Database Services (DBaaS).

    Create DbaasPgDatabase Resource

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

    Constructor syntax

    new DbaasPgDatabase(name: string, args: DbaasPgDatabaseArgs, opts?: CustomResourceOptions);
    @overload
    def DbaasPgDatabase(resource_name: str,
                        args: DbaasPgDatabaseArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def DbaasPgDatabase(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        database_name: Optional[str] = None,
                        service: Optional[str] = None,
                        zone: Optional[str] = None,
                        lc_collate: Optional[str] = None,
                        lc_ctype: Optional[str] = None,
                        timeouts: Optional[DbaasPgDatabaseTimeoutsArgs] = None)
    func NewDbaasPgDatabase(ctx *Context, name string, args DbaasPgDatabaseArgs, opts ...ResourceOption) (*DbaasPgDatabase, error)
    public DbaasPgDatabase(string name, DbaasPgDatabaseArgs args, CustomResourceOptions? opts = null)
    public DbaasPgDatabase(String name, DbaasPgDatabaseArgs args)
    public DbaasPgDatabase(String name, DbaasPgDatabaseArgs args, CustomResourceOptions options)
    
    type: exoscale:DbaasPgDatabase
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args DbaasPgDatabaseArgs
    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 DbaasPgDatabaseArgs
    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 DbaasPgDatabaseArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DbaasPgDatabaseArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DbaasPgDatabaseArgs
    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 dbaasPgDatabaseResource = new Exoscale.DbaasPgDatabase("dbaasPgDatabaseResource", new()
    {
        DatabaseName = "string",
        Service = "string",
        Zone = "string",
        LcCollate = "string",
        LcCtype = "string",
        Timeouts = new Exoscale.Inputs.DbaasPgDatabaseTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Read = "string",
            Update = "string",
        },
    });
    
    example, err := exoscale.NewDbaasPgDatabase(ctx, "dbaasPgDatabaseResource", &exoscale.DbaasPgDatabaseArgs{
    	DatabaseName: pulumi.String("string"),
    	Service:      pulumi.String("string"),
    	Zone:         pulumi.String("string"),
    	LcCollate:    pulumi.String("string"),
    	LcCtype:      pulumi.String("string"),
    	Timeouts: &exoscale.DbaasPgDatabaseTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Read:   pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    var dbaasPgDatabaseResource = new DbaasPgDatabase("dbaasPgDatabaseResource", DbaasPgDatabaseArgs.builder()
        .databaseName("string")
        .service("string")
        .zone("string")
        .lcCollate("string")
        .lcCtype("string")
        .timeouts(DbaasPgDatabaseTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .read("string")
            .update("string")
            .build())
        .build());
    
    dbaas_pg_database_resource = exoscale.DbaasPgDatabase("dbaasPgDatabaseResource",
        database_name="string",
        service="string",
        zone="string",
        lc_collate="string",
        lc_ctype="string",
        timeouts={
            "create": "string",
            "delete": "string",
            "read": "string",
            "update": "string",
        })
    
    const dbaasPgDatabaseResource = new exoscale.DbaasPgDatabase("dbaasPgDatabaseResource", {
        databaseName: "string",
        service: "string",
        zone: "string",
        lcCollate: "string",
        lcCtype: "string",
        timeouts: {
            create: "string",
            "delete": "string",
            read: "string",
            update: "string",
        },
    });
    
    type: exoscale:DbaasPgDatabase
    properties:
        databaseName: string
        lcCollate: string
        lcCtype: string
        service: string
        timeouts:
            create: string
            delete: string
            read: string
            update: string
        zone: string
    

    DbaasPgDatabase 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 DbaasPgDatabase resource accepts the following input properties:

    DatabaseName string
    ❗ The name of the database for this service.
    Service string
    ❗ The name of the database service.
    Zone string
    ❗ The Exoscale Zone name.
    LcCollate string
    Default string sort order (LC_COLLATE) for PostgreSQL database
    LcCtype string
    Default character classification (LC_CTYPE) for PostgreSQL database
    Timeouts Pulumiverse.Exoscale.Inputs.DbaasPgDatabaseTimeouts
    DatabaseName string
    ❗ The name of the database for this service.
    Service string
    ❗ The name of the database service.
    Zone string
    ❗ The Exoscale Zone name.
    LcCollate string
    Default string sort order (LC_COLLATE) for PostgreSQL database
    LcCtype string
    Default character classification (LC_CTYPE) for PostgreSQL database
    Timeouts DbaasPgDatabaseTimeoutsArgs
    databaseName String
    ❗ The name of the database for this service.
    service String
    ❗ The name of the database service.
    zone String
    ❗ The Exoscale Zone name.
    lcCollate String
    Default string sort order (LC_COLLATE) for PostgreSQL database
    lcCtype String
    Default character classification (LC_CTYPE) for PostgreSQL database
    timeouts DbaasPgDatabaseTimeouts
    databaseName string
    ❗ The name of the database for this service.
    service string
    ❗ The name of the database service.
    zone string
    ❗ The Exoscale Zone name.
    lcCollate string
    Default string sort order (LC_COLLATE) for PostgreSQL database
    lcCtype string
    Default character classification (LC_CTYPE) for PostgreSQL database
    timeouts DbaasPgDatabaseTimeouts
    database_name str
    ❗ The name of the database for this service.
    service str
    ❗ The name of the database service.
    zone str
    ❗ The Exoscale Zone name.
    lc_collate str
    Default string sort order (LC_COLLATE) for PostgreSQL database
    lc_ctype str
    Default character classification (LC_CTYPE) for PostgreSQL database
    timeouts DbaasPgDatabaseTimeoutsArgs
    databaseName String
    ❗ The name of the database for this service.
    service String
    ❗ The name of the database service.
    zone String
    ❗ The Exoscale Zone name.
    lcCollate String
    Default string sort order (LC_COLLATE) for PostgreSQL database
    lcCtype String
    Default character classification (LC_CTYPE) for PostgreSQL database
    timeouts Property Map

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Look up Existing DbaasPgDatabase Resource

    Get an existing DbaasPgDatabase 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?: DbaasPgDatabaseState, opts?: CustomResourceOptions): DbaasPgDatabase
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            database_name: Optional[str] = None,
            lc_collate: Optional[str] = None,
            lc_ctype: Optional[str] = None,
            service: Optional[str] = None,
            timeouts: Optional[DbaasPgDatabaseTimeoutsArgs] = None,
            zone: Optional[str] = None) -> DbaasPgDatabase
    func GetDbaasPgDatabase(ctx *Context, name string, id IDInput, state *DbaasPgDatabaseState, opts ...ResourceOption) (*DbaasPgDatabase, error)
    public static DbaasPgDatabase Get(string name, Input<string> id, DbaasPgDatabaseState? state, CustomResourceOptions? opts = null)
    public static DbaasPgDatabase get(String name, Output<String> id, DbaasPgDatabaseState state, CustomResourceOptions options)
    resources:  _:    type: exoscale:DbaasPgDatabase    get:      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:
    DatabaseName string
    ❗ The name of the database for this service.
    LcCollate string
    Default string sort order (LC_COLLATE) for PostgreSQL database
    LcCtype string
    Default character classification (LC_CTYPE) for PostgreSQL database
    Service string
    ❗ The name of the database service.
    Timeouts Pulumiverse.Exoscale.Inputs.DbaasPgDatabaseTimeouts
    Zone string
    ❗ The Exoscale Zone name.
    DatabaseName string
    ❗ The name of the database for this service.
    LcCollate string
    Default string sort order (LC_COLLATE) for PostgreSQL database
    LcCtype string
    Default character classification (LC_CTYPE) for PostgreSQL database
    Service string
    ❗ The name of the database service.
    Timeouts DbaasPgDatabaseTimeoutsArgs
    Zone string
    ❗ The Exoscale Zone name.
    databaseName String
    ❗ The name of the database for this service.
    lcCollate String
    Default string sort order (LC_COLLATE) for PostgreSQL database
    lcCtype String
    Default character classification (LC_CTYPE) for PostgreSQL database
    service String
    ❗ The name of the database service.
    timeouts DbaasPgDatabaseTimeouts
    zone String
    ❗ The Exoscale Zone name.
    databaseName string
    ❗ The name of the database for this service.
    lcCollate string
    Default string sort order (LC_COLLATE) for PostgreSQL database
    lcCtype string
    Default character classification (LC_CTYPE) for PostgreSQL database
    service string
    ❗ The name of the database service.
    timeouts DbaasPgDatabaseTimeouts
    zone string
    ❗ The Exoscale Zone name.
    database_name str
    ❗ The name of the database for this service.
    lc_collate str
    Default string sort order (LC_COLLATE) for PostgreSQL database
    lc_ctype str
    Default character classification (LC_CTYPE) for PostgreSQL database
    service str
    ❗ The name of the database service.
    timeouts DbaasPgDatabaseTimeoutsArgs
    zone str
    ❗ The Exoscale Zone name.
    databaseName String
    ❗ The name of the database for this service.
    lcCollate String
    Default string sort order (LC_COLLATE) for PostgreSQL database
    lcCtype String
    Default character classification (LC_CTYPE) for PostgreSQL database
    service String
    ❗ The name of the database service.
    timeouts Property Map
    zone String
    ❗ The Exoscale Zone name.

    Supporting Types

    DbaasPgDatabaseTimeouts, DbaasPgDatabaseTimeoutsArgs

    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.
    Read 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). Read operations occur during any refresh or planning operation when refresh is enabled.
    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.
    Read 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). Read operations occur during any refresh or planning operation when refresh is enabled.
    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.
    read 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). Read operations occur during any refresh or planning operation when refresh is enabled.
    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.
    read 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). Read operations occur during any refresh or planning operation when refresh is enabled.
    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.
    read 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). Read operations occur during any refresh or planning operation when refresh is enabled.
    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.
    read 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). Read operations occur during any refresh or planning operation when refresh is enabled.
    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).

    Package Details

    Repository
    exoscale pulumiverse/pulumi-exoscale
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the exoscale Terraform Provider.
    exoscale logo
    Exoscale v0.66.1 published on Tuesday, Nov 4, 2025 by Pulumiverse
      Meet Neo: Your AI Platform Teammate