1. Packages
  2. Packages
  3. Edgecenter Provider
  4. API Docs
  5. getDbaasUsers
Viewing docs for edgecenter 0.13.0
published on Tuesday, Jun 16, 2026 by edge-center
Viewing docs for edgecenter 0.13.0
published on Tuesday, Jun 16, 2026 by edge-center

    Represent DBaaS users data source.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as edgecenter from "@pulumi/edgecenter";
    
    const example = edgecenter.getDbaasUsers({
        clusterId: "080bbca5-1234-1234-1234-0bccd6f8f1b0",
        projectId: 1,
        regionId: 1,
    });
    
    import pulumi
    import pulumi_edgecenter as edgecenter
    
    example = edgecenter.get_dbaas_users(cluster_id="080bbca5-1234-1234-1234-0bccd6f8f1b0",
        project_id=1,
        region_id=1)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/edgecenter/edgecenter"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		_, err := edgecenter.GetDbaasUsers(ctx, &edgecenter.GetDbaasUsersArgs{
    			ClusterId: "080bbca5-1234-1234-1234-0bccd6f8f1b0",
    			ProjectId: pulumi.Float64Ref(1),
    			RegionId:  pulumi.Float64Ref(1),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Edgecenter = Pulumi.Edgecenter;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Edgecenter.GetDbaasUsers.Invoke(new()
        {
            ClusterId = "080bbca5-1234-1234-1234-0bccd6f8f1b0",
            ProjectId = 1,
            RegionId = 1,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.edgecenter.EdgecenterFunctions;
    import com.pulumi.edgecenter.inputs.GetDbaasUsersArgs;
    import java.util.List;
    import java.util.ArrayList;
    import java.util.Map;
    import java.io.File;
    import java.nio.file.Files;
    import java.nio.file.Paths;
    
    public class App {
        public static void main(String[] args) {
            Pulumi.run(App::stack);
        }
    
        public static void stack(Context ctx) {
            final var example = EdgecenterFunctions.getDbaasUsers(GetDbaasUsersArgs.builder()
                .clusterId("080bbca5-1234-1234-1234-0bccd6f8f1b0")
                .projectId(1)
                .regionId(1)
                .build());
    
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: edgecenter:getDbaasUsers
          arguments:
            clusterId: 080bbca5-1234-1234-1234-0bccd6f8f1b0
            projectId: 1
            regionId: 1
    
    Example coming soon!
    

    Using getDbaasUsers

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getDbaasUsers(args: GetDbaasUsersArgs, opts?: InvokeOptions): Promise<GetDbaasUsersResult>
    function getDbaasUsersOutput(args: GetDbaasUsersOutputArgs, opts?: InvokeOptions): Output<GetDbaasUsersResult>
    def get_dbaas_users(cluster_id: Optional[str] = None,
                        id: Optional[str] = None,
                        name: Optional[str] = None,
                        project_id: Optional[float] = None,
                        project_name: Optional[str] = None,
                        region_id: Optional[float] = None,
                        region_name: Optional[str] = None,
                        opts: Optional[InvokeOptions] = None) -> GetDbaasUsersResult
    def get_dbaas_users_output(cluster_id: pulumi.Input[Optional[str]] = None,
                        id: pulumi.Input[Optional[str]] = None,
                        name: pulumi.Input[Optional[str]] = None,
                        project_id: pulumi.Input[Optional[float]] = None,
                        project_name: pulumi.Input[Optional[str]] = None,
                        region_id: pulumi.Input[Optional[float]] = None,
                        region_name: pulumi.Input[Optional[str]] = None,
                        opts: Optional[InvokeOptions] = None) -> Output[GetDbaasUsersResult]
    func GetDbaasUsers(ctx *Context, args *GetDbaasUsersArgs, opts ...InvokeOption) (*GetDbaasUsersResult, error)
    func GetDbaasUsersOutput(ctx *Context, args *GetDbaasUsersOutputArgs, opts ...InvokeOption) GetDbaasUsersResultOutput

    > Note: This function is named GetDbaasUsers in the Go SDK.

    public static class GetDbaasUsers 
    {
        public static Task<GetDbaasUsersResult> InvokeAsync(GetDbaasUsersArgs args, InvokeOptions? opts = null)
        public static Output<GetDbaasUsersResult> Invoke(GetDbaasUsersInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDbaasUsersResult> getDbaasUsers(GetDbaasUsersArgs args, InvokeOptions options)
    public static Output<GetDbaasUsersResult> getDbaasUsers(GetDbaasUsersArgs args, InvokeOptions options)
    
    fn::invoke:
      function: edgecenter:index/getDbaasUsers:getDbaasUsers
      arguments:
        # arguments dictionary
    data "edgecenter_getdbaasusers" "name" {
        # arguments
    }

    The following arguments are supported:

    ClusterId string
    The ID of the DBaaS cluster.
    Id string
    The ID of this resource.
    Name string
    The name of the user to filter by.
    ProjectId double
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    ProjectName string
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    RegionId double
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    RegionName string
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    ClusterId string
    The ID of the DBaaS cluster.
    Id string
    The ID of this resource.
    Name string
    The name of the user to filter by.
    ProjectId float64
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    ProjectName string
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    RegionId float64
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    RegionName string
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    cluster_id string
    The ID of the DBaaS cluster.
    id string
    The ID of this resource.
    name string
    The name of the user to filter by.
    project_id number
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    project_name string
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    region_id number
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    region_name string
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    clusterId String
    The ID of the DBaaS cluster.
    id String
    The ID of this resource.
    name String
    The name of the user to filter by.
    projectId Double
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    projectName String
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    regionId Double
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    regionName String
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    clusterId string
    The ID of the DBaaS cluster.
    id string
    The ID of this resource.
    name string
    The name of the user to filter by.
    projectId number
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    projectName string
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    regionId number
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    regionName string
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    cluster_id str
    The ID of the DBaaS cluster.
    id str
    The ID of this resource.
    name str
    The name of the user to filter by.
    project_id float
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    project_name str
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    region_id float
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    region_name str
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    clusterId String
    The ID of the DBaaS cluster.
    id String
    The ID of this resource.
    name String
    The name of the user to filter by.
    projectId Number
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    projectName String
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    regionId Number
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    regionName String
    The name of the region. Either 'regionid' or 'regionname' must be specified.

    getDbaasUsers Result

    The following output properties are available:

    ClusterId string
    The ID of the DBaaS cluster.
    Id string
    The ID of this resource.
    Items List<GetDbaasUsersItem>
    Name string
    The name of the user to filter by.
    ProjectId double
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    ProjectName string
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    RegionId double
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    RegionName string
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    ClusterId string
    The ID of the DBaaS cluster.
    Id string
    The ID of this resource.
    Items []GetDbaasUsersItem
    Name string
    The name of the user to filter by.
    ProjectId float64
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    ProjectName string
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    RegionId float64
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    RegionName string
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    cluster_id string
    The ID of the DBaaS cluster.
    id string
    The ID of this resource.
    items list(object)
    name string
    The name of the user to filter by.
    project_id number
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    project_name string
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    region_id number
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    region_name string
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    clusterId String
    The ID of the DBaaS cluster.
    id String
    The ID of this resource.
    items List<GetDbaasUsersItem>
    name String
    The name of the user to filter by.
    projectId Double
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    projectName String
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    regionId Double
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    regionName String
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    clusterId string
    The ID of the DBaaS cluster.
    id string
    The ID of this resource.
    items GetDbaasUsersItem[]
    name string
    The name of the user to filter by.
    projectId number
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    projectName string
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    regionId number
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    regionName string
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    cluster_id str
    The ID of the DBaaS cluster.
    id str
    The ID of this resource.
    items Sequence[GetDbaasUsersItem]
    name str
    The name of the user to filter by.
    project_id float
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    project_name str
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    region_id float
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    region_name str
    The name of the region. Either 'regionid' or 'regionname' must be specified.
    clusterId String
    The ID of the DBaaS cluster.
    id String
    The ID of this resource.
    items List<Property Map>
    name String
    The name of the user to filter by.
    projectId Number
    The uuid of the project. Either 'projectid' or 'projectname' must be specified.
    projectName String
    The name of the project. Either 'projectid' or 'projectname' must be specified.
    regionId Number
    The uuid of the region. Either 'regionid' or 'regionname' must be specified.
    regionName String
    The name of the region. Either 'regionid' or 'regionname' must be specified.

    Supporting Types

    GetDbaasUsersItem

    Databases List<string>
    Name string
    Databases []string
    Name string
    databases list(string)
    name string
    databases List<String>
    name String
    databases string[]
    name string
    databases Sequence[str]
    name str
    databases List<String>
    name String

    Package Details

    Repository
    edgecenter edge-center/terraform-provider-edgecenter
    License
    Notes
    This Pulumi package is based on the edgecenter Terraform Provider.
    Viewing docs for edgecenter 0.13.0
    published on Tuesday, Jun 16, 2026 by edge-center

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial