1. Packages
  2. Packages
  3. Edgecenter Provider
  4. API Docs
  5. DbaasBackup
Viewing docs for edgecenter 0.14.4
published on Thursday, Jul 30, 2026 by edge-center
Viewing docs for edgecenter 0.14.4
published on Thursday, Jul 30, 2026 by edge-center

    Represent a manual DBaaS backup resource.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as edgecenter from "@pulumi/edgecenter";
    
    const example = new edgecenter.DbaasBackup("example", {
        name: "backup-example",
        projectId: 1,
        regionId: 1,
        clusterId: "080bbca5-1234-1234-1234-0bccd6f8f1b0",
        description: "Manual backup of the cluster",
    });
    
    import pulumi
    import pulumi_edgecenter as edgecenter
    
    example = edgecenter.DbaasBackup("example",
        name="backup-example",
        project_id=1,
        region_id=1,
        cluster_id="080bbca5-1234-1234-1234-0bccd6f8f1b0",
        description="Manual backup of the cluster")
    
    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.NewDbaasBackup(ctx, "example", &edgecenter.DbaasBackupArgs{
    			Name:        pulumi.String("backup-example"),
    			ProjectId:   pulumi.Float64(1),
    			RegionId:    pulumi.Float64(1),
    			ClusterId:   pulumi.String("080bbca5-1234-1234-1234-0bccd6f8f1b0"),
    			Description: pulumi.String("Manual backup of the cluster"),
    		})
    		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 = new Edgecenter.DbaasBackup("example", new()
        {
            Name = "backup-example",
            ProjectId = 1,
            RegionId = 1,
            ClusterId = "080bbca5-1234-1234-1234-0bccd6f8f1b0",
            Description = "Manual backup of the cluster",
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.edgecenter.DbaasBackup;
    import com.pulumi.edgecenter.DbaasBackupArgs;
    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) {
            var example = new DbaasBackup("example", DbaasBackupArgs.builder()
                .name("backup-example")
                .projectId(1.0)
                .regionId(1.0)
                .clusterId("080bbca5-1234-1234-1234-0bccd6f8f1b0")
                .description("Manual backup of the cluster")
                .build());
    
        }
    }
    
    resources:
      example:
        type: edgecenter:DbaasBackup
        properties:
          name: backup-example
          projectId: 1
          regionId: 1
          clusterId: 080bbca5-1234-1234-1234-0bccd6f8f1b0
          description: Manual backup of the cluster
    
    Example coming soon!
    

    Create DbaasBackup Resource

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

    Constructor syntax

    new DbaasBackup(name: string, args: DbaasBackupArgs, opts?: CustomResourceOptions);
    @overload
    def DbaasBackup(resource_name: str,
                    args: DbaasBackupArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def DbaasBackup(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    cluster_id: Optional[str] = None,
                    dbaas_backup_id: Optional[str] = None,
                    description: Optional[str] = None,
                    name: Optional[str] = None,
                    parent_id: Optional[str] = None,
                    project_id: Optional[float] = None,
                    project_name: Optional[str] = None,
                    region_id: Optional[float] = None,
                    region_name: Optional[str] = None,
                    timeouts: Optional[DbaasBackupTimeoutsArgs] = None)
    func NewDbaasBackup(ctx *Context, name string, args DbaasBackupArgs, opts ...ResourceOption) (*DbaasBackup, error)
    public DbaasBackup(string name, DbaasBackupArgs args, CustomResourceOptions? opts = null)
    public DbaasBackup(String name, DbaasBackupArgs args)
    public DbaasBackup(String name, DbaasBackupArgs args, CustomResourceOptions options)
    
    type: edgecenter:DbaasBackup
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    
    resource "edgecenter_dbaas_backup" "name" {
        # resource properties
    }

    Parameters

    name string
    The unique name of the resource.
    args DbaasBackupArgs
    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 DbaasBackupArgs
    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 DbaasBackupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DbaasBackupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DbaasBackupArgs
    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 dbaasBackupResource = new Edgecenter.DbaasBackup("dbaasBackupResource", new()
    {
        ClusterId = "string",
        DbaasBackupId = "string",
        Description = "string",
        Name = "string",
        ParentId = "string",
        ProjectId = 0,
        ProjectName = "string",
        RegionId = 0,
        RegionName = "string",
        Timeouts = new Edgecenter.Inputs.DbaasBackupTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
            Read = "string",
            Update = "string",
        },
    });
    
    example, err := edgecenter.NewDbaasBackup(ctx, "dbaasBackupResource", &edgecenter.DbaasBackupArgs{
    	ClusterId:     pulumi.String("string"),
    	DbaasBackupId: pulumi.String("string"),
    	Description:   pulumi.String("string"),
    	Name:          pulumi.String("string"),
    	ParentId:      pulumi.String("string"),
    	ProjectId:     pulumi.Float64(0),
    	ProjectName:   pulumi.String("string"),
    	RegionId:      pulumi.Float64(0),
    	RegionName:    pulumi.String("string"),
    	Timeouts: &edgecenter.DbaasBackupTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    		Read:   pulumi.String("string"),
    		Update: pulumi.String("string"),
    	},
    })
    
    resource "edgecenter_dbaas_backup" "dbaasBackupResource" {
      lifecycle {
        create_before_destroy = true
      }
      cluster_id      = "string"
      dbaas_backup_id = "string"
      description     = "string"
      name            = "string"
      parent_id       = "string"
      project_id      = 0
      project_name    = "string"
      region_id       = 0
      region_name     = "string"
      timeouts = {
        create = "string"
        delete = "string"
        read   = "string"
        update = "string"
      }
    }
    
    var dbaasBackupResource = new DbaasBackup("dbaasBackupResource", DbaasBackupArgs.builder()
        .clusterId("string")
        .dbaasBackupId("string")
        .description("string")
        .name("string")
        .parentId("string")
        .projectId(0.0)
        .projectName("string")
        .regionId(0.0)
        .regionName("string")
        .timeouts(DbaasBackupTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .read("string")
            .update("string")
            .build())
        .build());
    
    dbaas_backup_resource = edgecenter.DbaasBackup("dbaasBackupResource",
        cluster_id="string",
        dbaas_backup_id="string",
        description="string",
        name="string",
        parent_id="string",
        project_id=float(0),
        project_name="string",
        region_id=float(0),
        region_name="string",
        timeouts={
            "create": "string",
            "delete": "string",
            "read": "string",
            "update": "string",
        })
    
    const dbaasBackupResource = new edgecenter.DbaasBackup("dbaasBackupResource", {
        clusterId: "string",
        dbaasBackupId: "string",
        description: "string",
        name: "string",
        parentId: "string",
        projectId: 0,
        projectName: "string",
        regionId: 0,
        regionName: "string",
        timeouts: {
            create: "string",
            "delete": "string",
            read: "string",
            update: "string",
        },
    });
    
    type: edgecenter:DbaasBackup
    properties:
        clusterId: string
        dbaasBackupId: string
        description: string
        name: string
        parentId: string
        projectId: 0
        projectName: string
        regionId: 0
        regionName: string
        timeouts:
            create: string
            delete: string
            read: string
            update: string
    

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

    ClusterId string
    DbaasBackupId string
    The ID of this resource.
    Description string
    Name string
    ParentId string
    ProjectId double
    ProjectName string
    RegionId double
    RegionName string
    Timeouts DbaasBackupTimeouts
    ClusterId string
    DbaasBackupId string
    The ID of this resource.
    Description string
    Name string
    ParentId string
    ProjectId float64
    ProjectName string
    RegionId float64
    RegionName string
    Timeouts DbaasBackupTimeoutsArgs
    cluster_id string
    dbaas_backup_id string
    The ID of this resource.
    description string
    name string
    parent_id string
    project_id number
    project_name string
    region_id number
    region_name string
    timeouts object
    clusterId String
    dbaasBackupId String
    The ID of this resource.
    description String
    name String
    parentId String
    projectId Double
    projectName String
    regionId Double
    regionName String
    timeouts DbaasBackupTimeouts
    clusterId string
    dbaasBackupId string
    The ID of this resource.
    description string
    name string
    parentId string
    projectId number
    projectName string
    regionId number
    regionName string
    timeouts DbaasBackupTimeouts
    clusterId String
    dbaasBackupId String
    The ID of this resource.
    description String
    name String
    parentId String
    projectId Number
    projectName String
    regionId Number
    regionName String
    timeouts Property Map

    Outputs

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

    BackupType string
    CreatedAt string
    CreatorTaskId string
    Dbms List<DbaasBackupDbm>
    FinishedAt string
    HasChild bool
    Id string
    The provider-assigned unique ID for this managed resource.
    IsService bool
    Size double
    Status string
    TaskId string
    UpdatedAt string
    BackupType string
    CreatedAt string
    CreatorTaskId string
    Dbms []DbaasBackupDbm
    FinishedAt string
    HasChild bool
    Id string
    The provider-assigned unique ID for this managed resource.
    IsService bool
    Size float64
    Status string
    TaskId string
    UpdatedAt string
    backup_type string
    created_at string
    creator_task_id string
    dbms list(object)
    finished_at string
    has_child bool
    id string
    The provider-assigned unique ID for this managed resource.
    is_service bool
    size number
    status string
    task_id string
    updated_at string
    backupType String
    createdAt String
    creatorTaskId String
    dbms List<DbaasBackupDbm>
    finishedAt String
    hasChild Boolean
    id String
    The provider-assigned unique ID for this managed resource.
    isService Boolean
    size Double
    status String
    taskId String
    updatedAt String
    backupType string
    createdAt string
    creatorTaskId string
    dbms DbaasBackupDbm[]
    finishedAt string
    hasChild boolean
    id string
    The provider-assigned unique ID for this managed resource.
    isService boolean
    size number
    status string
    taskId string
    updatedAt string
    backup_type str
    created_at str
    creator_task_id str
    dbms Sequence[DbaasBackupDbm]
    finished_at str
    has_child bool
    id str
    The provider-assigned unique ID for this managed resource.
    is_service bool
    size float
    status str
    task_id str
    updated_at str
    backupType String
    createdAt String
    creatorTaskId String
    dbms List<Property Map>
    finishedAt String
    hasChild Boolean
    id String
    The provider-assigned unique ID for this managed resource.
    isService Boolean
    size Number
    status String
    taskId String
    updatedAt String

    Look up Existing DbaasBackup Resource

    Get an existing DbaasBackup 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?: DbaasBackupState, opts?: CustomResourceOptions): DbaasBackup
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            backup_type: Optional[str] = None,
            cluster_id: Optional[str] = None,
            created_at: Optional[str] = None,
            creator_task_id: Optional[str] = None,
            dbaas_backup_id: Optional[str] = None,
            dbms: Optional[Sequence[DbaasBackupDbmArgs]] = None,
            description: Optional[str] = None,
            finished_at: Optional[str] = None,
            has_child: Optional[bool] = None,
            is_service: Optional[bool] = None,
            name: Optional[str] = None,
            parent_id: Optional[str] = None,
            project_id: Optional[float] = None,
            project_name: Optional[str] = None,
            region_id: Optional[float] = None,
            region_name: Optional[str] = None,
            size: Optional[float] = None,
            status: Optional[str] = None,
            task_id: Optional[str] = None,
            timeouts: Optional[DbaasBackupTimeoutsArgs] = None,
            updated_at: Optional[str] = None) -> DbaasBackup
    func GetDbaasBackup(ctx *Context, name string, id IDInput, state *DbaasBackupState, opts ...ResourceOption) (*DbaasBackup, error)
    public static DbaasBackup Get(string name, Input<string> id, DbaasBackupState? state, CustomResourceOptions? opts = null)
    public static DbaasBackup get(String name, Output<String> id, DbaasBackupState state, CustomResourceOptions options)
    resources:  _:    type: edgecenter:DbaasBackup    get:      id: ${id}
    import {
      to = edgecenter_dbaas_backup.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:
    BackupType string
    ClusterId string
    CreatedAt string
    CreatorTaskId string
    DbaasBackupId string
    The ID of this resource.
    Dbms List<DbaasBackupDbm>
    Description string
    FinishedAt string
    HasChild bool
    IsService bool
    Name string
    ParentId string
    ProjectId double
    ProjectName string
    RegionId double
    RegionName string
    Size double
    Status string
    TaskId string
    Timeouts DbaasBackupTimeouts
    UpdatedAt string
    BackupType string
    ClusterId string
    CreatedAt string
    CreatorTaskId string
    DbaasBackupId string
    The ID of this resource.
    Dbms []DbaasBackupDbmArgs
    Description string
    FinishedAt string
    HasChild bool
    IsService bool
    Name string
    ParentId string
    ProjectId float64
    ProjectName string
    RegionId float64
    RegionName string
    Size float64
    Status string
    TaskId string
    Timeouts DbaasBackupTimeoutsArgs
    UpdatedAt string
    backup_type string
    cluster_id string
    created_at string
    creator_task_id string
    dbaas_backup_id string
    The ID of this resource.
    dbms list(object)
    description string
    finished_at string
    has_child bool
    is_service bool
    name string
    parent_id string
    project_id number
    project_name string
    region_id number
    region_name string
    size number
    status string
    task_id string
    timeouts object
    updated_at string
    backupType String
    clusterId String
    createdAt String
    creatorTaskId String
    dbaasBackupId String
    The ID of this resource.
    dbms List<DbaasBackupDbm>
    description String
    finishedAt String
    hasChild Boolean
    isService Boolean
    name String
    parentId String
    projectId Double
    projectName String
    regionId Double
    regionName String
    size Double
    status String
    taskId String
    timeouts DbaasBackupTimeouts
    updatedAt String
    backupType string
    clusterId string
    createdAt string
    creatorTaskId string
    dbaasBackupId string
    The ID of this resource.
    dbms DbaasBackupDbm[]
    description string
    finishedAt string
    hasChild boolean
    isService boolean
    name string
    parentId string
    projectId number
    projectName string
    regionId number
    regionName string
    size number
    status string
    taskId string
    timeouts DbaasBackupTimeouts
    updatedAt string
    backupType String
    clusterId String
    createdAt String
    creatorTaskId String
    dbaasBackupId String
    The ID of this resource.
    dbms List<Property Map>
    description String
    finishedAt String
    hasChild Boolean
    isService Boolean
    name String
    parentId String
    projectId Number
    projectName String
    regionId Number
    regionName String
    size Number
    status String
    taskId String
    timeouts Property Map
    updatedAt String

    Supporting Types

    DbaasBackupDbm, DbaasBackupDbmArgs

    Type string
    Version string
    Type string
    Version string
    type string
    version string
    type String
    version String
    type string
    version string
    type str
    version str
    type String
    version String

    DbaasBackupTimeouts, DbaasBackupTimeoutsArgs

    Create string
    Delete string
    Read string
    Update string
    Create string
    Delete string
    Read string
    Update string
    create string
    delete string
    read string
    update string
    create String
    delete String
    read String
    update String
    create string
    delete string
    read string
    update string
    create str
    delete str
    read str
    update str
    create String
    delete String
    read String
    update String

    Import

    import using <project_id>:<region_id>:<backup_id> format

    $ pulumi import edgecenter:index/dbaasBackup:DbaasBackup example 1:1:e13bd88d-79c8-4871-a9c2-a4baca741d0f
    

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

    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.14.4
    published on Thursday, Jul 30, 2026 by edge-center

      Try Pulumi Cloud free.
      Your team will thank you.

      Start free trial