1. Packages
  2. Packages
  3. Edgecenter Provider
  4. API Docs
  5. getDbaasDatabases
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 databases data source.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as edgecenter from "@pulumi/edgecenter";
    
    const example = edgecenter.getDbaasDatabases({
        clusterId: "080bbca5-1234-1234-1234-0bccd6f8f1b0",
        projectId: 1,
        regionId: 1,
    });
    export const view = example;
    
    import pulumi
    import pulumi_edgecenter as edgecenter
    
    example = edgecenter.get_dbaas_databases(cluster_id="080bbca5-1234-1234-1234-0bccd6f8f1b0",
        project_id=1,
        region_id=1)
    pulumi.export("view", example)
    
    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 {
    		example, err := edgecenter.GetDbaasDatabases(ctx, &edgecenter.GetDbaasDatabasesArgs{
    			ClusterId: "080bbca5-1234-1234-1234-0bccd6f8f1b0",
    			ProjectId: pulumi.Float64Ref(1),
    			RegionId:  pulumi.Float64Ref(1),
    		}, nil)
    		if err != nil {
    			return err
    		}
    		ctx.Export("view", example)
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Edgecenter = Pulumi.Edgecenter;
    
    return await Deployment.RunAsync(() => 
    {
        var example = Edgecenter.GetDbaasDatabases.Invoke(new()
        {
            ClusterId = "080bbca5-1234-1234-1234-0bccd6f8f1b0",
            ProjectId = 1,
            RegionId = 1,
        });
    
        return new Dictionary<string, object?>
        {
            ["view"] = example,
        };
    });
    
    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.GetDbaasDatabasesArgs;
    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.getDbaasDatabases(GetDbaasDatabasesArgs.builder()
                .clusterId("080bbca5-1234-1234-1234-0bccd6f8f1b0")
                .projectId(1)
                .regionId(1)
                .build());
    
            ctx.export("view", example);
        }
    }
    
    variables:
      example:
        fn::invoke:
          function: edgecenter:getDbaasDatabases
          arguments:
            clusterId: 080bbca5-1234-1234-1234-0bccd6f8f1b0
            projectId: 1
            regionId: 1
    outputs:
      view: ${example}
    
    Example coming soon!
    

    Using getDbaasDatabases

    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 getDbaasDatabases(args: GetDbaasDatabasesArgs, opts?: InvokeOptions): Promise<GetDbaasDatabasesResult>
    function getDbaasDatabasesOutput(args: GetDbaasDatabasesOutputArgs, opts?: InvokeOptions): Output<GetDbaasDatabasesResult>
    def get_dbaas_databases(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) -> GetDbaasDatabasesResult
    def get_dbaas_databases_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[GetDbaasDatabasesResult]
    func GetDbaasDatabases(ctx *Context, args *GetDbaasDatabasesArgs, opts ...InvokeOption) (*GetDbaasDatabasesResult, error)
    func GetDbaasDatabasesOutput(ctx *Context, args *GetDbaasDatabasesOutputArgs, opts ...InvokeOption) GetDbaasDatabasesResultOutput

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

    public static class GetDbaasDatabases 
    {
        public static Task<GetDbaasDatabasesResult> InvokeAsync(GetDbaasDatabasesArgs args, InvokeOptions? opts = null)
        public static Output<GetDbaasDatabasesResult> Invoke(GetDbaasDatabasesInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetDbaasDatabasesResult> getDbaasDatabases(GetDbaasDatabasesArgs args, InvokeOptions options)
    public static Output<GetDbaasDatabasesResult> getDbaasDatabases(GetDbaasDatabasesArgs args, InvokeOptions options)
    
    fn::invoke:
      function: edgecenter:index/getDbaasDatabases:getDbaasDatabases
      arguments:
        # arguments dictionary
    data "edgecenter_getdbaasdatabases" "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 database 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 database 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 database 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 database 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 database 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 database 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 database 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.

    getDbaasDatabases Result

    The following output properties are available:

    ClusterId string
    The ID of the DBaaS cluster.
    Id string
    The ID of this resource.
    Items List<GetDbaasDatabasesItem>
    Name string
    The name of the database 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 []GetDbaasDatabasesItem
    Name string
    The name of the database 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 database 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<GetDbaasDatabasesItem>
    name String
    The name of the database 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 GetDbaasDatabasesItem[]
    name string
    The name of the database 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[GetDbaasDatabasesItem]
    name str
    The name of the database 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 database 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

    GetDbaasDatabasesItem

    Name string
    Name string
    name string
    name String
    name string
    name str
    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