published on Thursday, Jul 30, 2026 by edge-center
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:
- Cluster
Id string - Dbaas
Backup stringId - The ID of this resource.
- Description string
- Name string
- Parent
Id string - Project
Id double - Project
Name string - Region
Id double - Region
Name string - Timeouts
Dbaas
Backup Timeouts
- Cluster
Id string - Dbaas
Backup stringId - The ID of this resource.
- Description string
- Name string
- Parent
Id string - Project
Id float64 - Project
Name string - Region
Id float64 - Region
Name string - Timeouts
Dbaas
Backup Timeouts Args
- cluster_
id string - dbaas_
backup_ stringid - 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
- cluster
Id String - dbaas
Backup StringId - The ID of this resource.
- description String
- name String
- parent
Id String - project
Id Double - project
Name String - region
Id Double - region
Name String - timeouts
Dbaas
Backup Timeouts
- cluster
Id string - dbaas
Backup stringId - 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
Dbaas
Backup Timeouts
- cluster_
id str - dbaas_
backup_ strid - The ID of this resource.
- description str
- name str
- parent_
id str - project_
id float - project_
name str - region_
id float - region_
name str - timeouts
Dbaas
Backup Timeouts Args
- cluster
Id String - dbaas
Backup StringId - 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 Property Map
Outputs
All input properties are implicitly available as output properties. Additionally, the DbaasBackup resource produces the following output properties:
- Backup
Type string - Created
At string - Creator
Task stringId - Dbms
List<Dbaas
Backup Dbm> - Finished
At string - Has
Child bool - Id string
- The provider-assigned unique ID for this managed resource.
- Is
Service bool - Size double
- Status string
- Task
Id string - Updated
At string
- Backup
Type string - Created
At string - Creator
Task stringId - Dbms
[]Dbaas
Backup Dbm - Finished
At string - Has
Child bool - Id string
- The provider-assigned unique ID for this managed resource.
- Is
Service bool - Size float64
- Status string
- Task
Id string - Updated
At string
- backup_
type string - created_
at string - creator_
task_ stringid - 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
- backup
Type String - created
At String - creator
Task StringId - dbms
List<Dbaas
Backup Dbm> - finished
At String - has
Child Boolean - id String
- The provider-assigned unique ID for this managed resource.
- is
Service Boolean - size Double
- status String
- task
Id String - updated
At String
- backup
Type string - created
At string - creator
Task stringId - dbms
Dbaas
Backup Dbm[] - finished
At string - has
Child boolean - id string
- The provider-assigned unique ID for this managed resource.
- is
Service boolean - size number
- status string
- task
Id string - updated
At string
- backup_
type str - created_
at str - creator_
task_ strid - dbms
Sequence[Dbaas
Backup Dbm] - 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
- backup
Type String - created
At String - creator
Task StringId - dbms List<Property Map>
- finished
At String - has
Child Boolean - id String
- The provider-assigned unique ID for this managed resource.
- is
Service Boolean - size Number
- status String
- task
Id String - updated
At 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) -> DbaasBackupfunc 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.
- Backup
Type string - Cluster
Id string - Created
At string - Creator
Task stringId - Dbaas
Backup stringId - The ID of this resource.
- Dbms
List<Dbaas
Backup Dbm> - Description string
- Finished
At string - Has
Child bool - Is
Service bool - Name string
- Parent
Id string - Project
Id double - Project
Name string - Region
Id double - Region
Name string - Size double
- Status string
- Task
Id string - Timeouts
Dbaas
Backup Timeouts - Updated
At string
- Backup
Type string - Cluster
Id string - Created
At string - Creator
Task stringId - Dbaas
Backup stringId - The ID of this resource.
- Dbms
[]Dbaas
Backup Dbm Args - Description string
- Finished
At string - Has
Child bool - Is
Service bool - Name string
- Parent
Id string - Project
Id float64 - Project
Name string - Region
Id float64 - Region
Name string - Size float64
- Status string
- Task
Id string - Timeouts
Dbaas
Backup Timeouts Args - Updated
At string
- backup_
type string - cluster_
id string - created_
at string - creator_
task_ stringid - dbaas_
backup_ stringid - 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
- backup
Type String - cluster
Id String - created
At String - creator
Task StringId - dbaas
Backup StringId - The ID of this resource.
- dbms
List<Dbaas
Backup Dbm> - description String
- finished
At String - has
Child Boolean - is
Service Boolean - name String
- parent
Id String - project
Id Double - project
Name String - region
Id Double - region
Name String - size Double
- status String
- task
Id String - timeouts
Dbaas
Backup Timeouts - updated
At String
- backup
Type string - cluster
Id string - created
At string - creator
Task stringId - dbaas
Backup stringId - The ID of this resource.
- dbms
Dbaas
Backup Dbm[] - description string
- finished
At string - has
Child boolean - is
Service boolean - 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
Dbaas
Backup Timeouts - updated
At string
- backup_
type str - cluster_
id str - created_
at str - creator_
task_ strid - dbaas_
backup_ strid - The ID of this resource.
- dbms
Sequence[Dbaas
Backup Dbm Args] - description str
- finished_
at str - has_
child bool - is_
service bool - name str
- parent_
id str - project_
id float - project_
name str - region_
id float - region_
name str - size float
- status str
- task_
id str - timeouts
Dbaas
Backup Timeouts Args - updated_
at str
- backup
Type String - cluster
Id String - created
At String - creator
Task StringId - dbaas
Backup StringId - The ID of this resource.
- dbms List<Property Map>
- description String
- finished
At String - has
Child Boolean - is
Service Boolean - 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 Property Map
- updated
At String
Supporting Types
DbaasBackupDbm, DbaasBackupDbmArgs
DbaasBackupTimeouts, DbaasBackupTimeoutsArgs
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
edgecenterTerraform Provider.
published on Thursday, Jul 30, 2026 by edge-center