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

exoscale.DbaasPgUser

Get Started
exoscale logo
Exoscale v0.66.1 published on Tuesday, Nov 4, 2025 by Pulumiverse

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

    Create DbaasPgUser Resource

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

    Constructor syntax

    new DbaasPgUser(name: string, args: DbaasPgUserArgs, opts?: CustomResourceOptions);
    @overload
    def DbaasPgUser(resource_name: str,
                    args: DbaasPgUserArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def DbaasPgUser(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    service: Optional[str] = None,
                    username: Optional[str] = None,
                    zone: Optional[str] = None,
                    allow_replication: Optional[bool] = None,
                    timeouts: Optional[DbaasPgUserTimeoutsArgs] = None)
    func NewDbaasPgUser(ctx *Context, name string, args DbaasPgUserArgs, opts ...ResourceOption) (*DbaasPgUser, error)
    public DbaasPgUser(string name, DbaasPgUserArgs args, CustomResourceOptions? opts = null)
    public DbaasPgUser(String name, DbaasPgUserArgs args)
    public DbaasPgUser(String name, DbaasPgUserArgs args, CustomResourceOptions options)
    
    type: exoscale:DbaasPgUser
    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 DbaasPgUserArgs
    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 DbaasPgUserArgs
    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 DbaasPgUserArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DbaasPgUserArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DbaasPgUserArgs
    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 dbaasPgUserResource = new Exoscale.DbaasPgUser("dbaasPgUserResource", new()
    {
        Service = "string",
        Username = "string",
        Zone = "string",
        AllowReplication = false,
        Timeouts = new Exoscale.Inputs.DbaasPgUserTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Read = "string",
            Update = "string",
        },
    });
    
    example, err := exoscale.NewDbaasPgUser(ctx, "dbaasPgUserResource", &exoscale.DbaasPgUserArgs{
    	Service:          pulumi.String("string"),
    	Username:         pulumi.String("string"),
    	Zone:             pulumi.String("string"),
    	AllowReplication: pulumi.Bool(false),
    	Timeouts: &exoscale.DbaasPgUserTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Read:   pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    var dbaasPgUserResource = new DbaasPgUser("dbaasPgUserResource", DbaasPgUserArgs.builder()
        .service("string")
        .username("string")
        .zone("string")
        .allowReplication(false)
        .timeouts(DbaasPgUserTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .read("string")
            .update("string")
            .build())
        .build());
    
    dbaas_pg_user_resource = exoscale.DbaasPgUser("dbaasPgUserResource",
        service="string",
        username="string",
        zone="string",
        allow_replication=False,
        timeouts={
            "create": "string",
            "delete": "string",
            "read": "string",
            "update": "string",
        })
    
    const dbaasPgUserResource = new exoscale.DbaasPgUser("dbaasPgUserResource", {
        service: "string",
        username: "string",
        zone: "string",
        allowReplication: false,
        timeouts: {
            create: "string",
            "delete": "string",
            read: "string",
            update: "string",
        },
    });
    
    type: exoscale:DbaasPgUser
    properties:
        allowReplication: false
        service: string
        timeouts:
            create: string
            delete: string
            read: string
            update: string
        username: string
        zone: string
    

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

    Service string
    ❗ The name of the database service.
    Username string
    ❗ The name of the user for this service.
    Zone string
    ❗ The Exoscale Zone name.
    AllowReplication bool
    Allows replication
    Timeouts Pulumiverse.Exoscale.Inputs.DbaasPgUserTimeouts
    Service string
    ❗ The name of the database service.
    Username string
    ❗ The name of the user for this service.
    Zone string
    ❗ The Exoscale Zone name.
    AllowReplication bool
    Allows replication
    Timeouts DbaasPgUserTimeoutsArgs
    service String
    ❗ The name of the database service.
    username String
    ❗ The name of the user for this service.
    zone String
    ❗ The Exoscale Zone name.
    allowReplication Boolean
    Allows replication
    timeouts DbaasPgUserTimeouts
    service string
    ❗ The name of the database service.
    username string
    ❗ The name of the user for this service.
    zone string
    ❗ The Exoscale Zone name.
    allowReplication boolean
    Allows replication
    timeouts DbaasPgUserTimeouts
    service str
    ❗ The name of the database service.
    username str
    ❗ The name of the user for this service.
    zone str
    ❗ The Exoscale Zone name.
    allow_replication bool
    Allows replication
    timeouts DbaasPgUserTimeoutsArgs
    service String
    ❗ The name of the database service.
    username String
    ❗ The name of the user for this service.
    zone String
    ❗ The Exoscale Zone name.
    allowReplication Boolean
    Allows replication
    timeouts Property Map

    Outputs

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

    Id string
    The provider-assigned unique ID for this managed resource.
    Password string
    The password of the service user.
    Type string
    The type of the service user.
    Id string
    The provider-assigned unique ID for this managed resource.
    Password string
    The password of the service user.
    Type string
    The type of the service user.
    id String
    The provider-assigned unique ID for this managed resource.
    password String
    The password of the service user.
    type String
    The type of the service user.
    id string
    The provider-assigned unique ID for this managed resource.
    password string
    The password of the service user.
    type string
    The type of the service user.
    id str
    The provider-assigned unique ID for this managed resource.
    password str
    The password of the service user.
    type str
    The type of the service user.
    id String
    The provider-assigned unique ID for this managed resource.
    password String
    The password of the service user.
    type String
    The type of the service user.

    Look up Existing DbaasPgUser Resource

    Get an existing DbaasPgUser 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?: DbaasPgUserState, opts?: CustomResourceOptions): DbaasPgUser
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            allow_replication: Optional[bool] = None,
            password: Optional[str] = None,
            service: Optional[str] = None,
            timeouts: Optional[DbaasPgUserTimeoutsArgs] = None,
            type: Optional[str] = None,
            username: Optional[str] = None,
            zone: Optional[str] = None) -> DbaasPgUser
    func GetDbaasPgUser(ctx *Context, name string, id IDInput, state *DbaasPgUserState, opts ...ResourceOption) (*DbaasPgUser, error)
    public static DbaasPgUser Get(string name, Input<string> id, DbaasPgUserState? state, CustomResourceOptions? opts = null)
    public static DbaasPgUser get(String name, Output<String> id, DbaasPgUserState state, CustomResourceOptions options)
    resources:  _:    type: exoscale:DbaasPgUser    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:
    AllowReplication bool
    Allows replication
    Password string
    The password of the service user.
    Service string
    ❗ The name of the database service.
    Timeouts Pulumiverse.Exoscale.Inputs.DbaasPgUserTimeouts
    Type string
    The type of the service user.
    Username string
    ❗ The name of the user for this service.
    Zone string
    ❗ The Exoscale Zone name.
    AllowReplication bool
    Allows replication
    Password string
    The password of the service user.
    Service string
    ❗ The name of the database service.
    Timeouts DbaasPgUserTimeoutsArgs
    Type string
    The type of the service user.
    Username string
    ❗ The name of the user for this service.
    Zone string
    ❗ The Exoscale Zone name.
    allowReplication Boolean
    Allows replication
    password String
    The password of the service user.
    service String
    ❗ The name of the database service.
    timeouts DbaasPgUserTimeouts
    type String
    The type of the service user.
    username String
    ❗ The name of the user for this service.
    zone String
    ❗ The Exoscale Zone name.
    allowReplication boolean
    Allows replication
    password string
    The password of the service user.
    service string
    ❗ The name of the database service.
    timeouts DbaasPgUserTimeouts
    type string
    The type of the service user.
    username string
    ❗ The name of the user for this service.
    zone string
    ❗ The Exoscale Zone name.
    allow_replication bool
    Allows replication
    password str
    The password of the service user.
    service str
    ❗ The name of the database service.
    timeouts DbaasPgUserTimeoutsArgs
    type str
    The type of the service user.
    username str
    ❗ The name of the user for this service.
    zone str
    ❗ The Exoscale Zone name.
    allowReplication Boolean
    Allows replication
    password String
    The password of the service user.
    service String
    ❗ The name of the database service.
    timeouts Property Map
    type String
    The type of the service user.
    username String
    ❗ The name of the user for this service.
    zone String
    ❗ The Exoscale Zone name.

    Supporting Types

    DbaasPgUserTimeouts, DbaasPgUserTimeoutsArgs

    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