Viewing docs for edgecenter 0.14.4
published on Thursday, Jul 30, 2026 by edge-center
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
published on Thursday, Jul 30, 2026 by edge-center
Retrieve a DBaaS backup by its ID or unique name.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as edgecenter from "@pulumi/edgecenter";
const example = edgecenter.getDbaasBackup({
projectId: 1,
regionId: 1,
name: "backup-example",
});
export const backupView = example;
import pulumi
import pulumi_edgecenter as edgecenter
example = edgecenter.get_dbaas_backup(project_id=1,
region_id=1,
name="backup-example")
pulumi.export("backupView", 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.LookupDbaasBackup(ctx, &edgecenter.LookupDbaasBackupArgs{
ProjectId: pulumi.Float64Ref(1),
RegionId: pulumi.Float64Ref(1),
Name: pulumi.StringRef("backup-example"),
}, nil)
if err != nil {
return err
}
ctx.Export("backupView", example)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Edgecenter = Pulumi.Edgecenter;
return await Deployment.RunAsync(() =>
{
var example = Edgecenter.GetDbaasBackup.Invoke(new()
{
ProjectId = 1,
RegionId = 1,
Name = "backup-example",
});
return new Dictionary<string, object?>
{
["backupView"] = 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.GetDbaasBackupArgs;
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.getDbaasBackup(GetDbaasBackupArgs.builder()
.projectId(1)
.regionId(1)
.name("backup-example")
.build());
ctx.export("backupView", example);
}
}
variables:
example:
fn::invoke:
function: edgecenter:getDbaasBackup
arguments:
projectId: 1
regionId: 1
name: backup-example
outputs:
backupView: ${example}
Example coming soon!
Using getDbaasBackup
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 getDbaasBackup(args: GetDbaasBackupArgs, opts?: InvokeOptions): Promise<GetDbaasBackupResult>
function getDbaasBackupOutput(args: GetDbaasBackupOutputArgs, opts?: InvokeOptions): Output<GetDbaasBackupResult>def get_dbaas_backup(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) -> GetDbaasBackupResult
def get_dbaas_backup_output(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[GetDbaasBackupResult]func LookupDbaasBackup(ctx *Context, args *LookupDbaasBackupArgs, opts ...InvokeOption) (*LookupDbaasBackupResult, error)
func LookupDbaasBackupOutput(ctx *Context, args *LookupDbaasBackupOutputArgs, opts ...InvokeOption) LookupDbaasBackupResultOutput> Note: This function is named LookupDbaasBackup in the Go SDK.
public static class GetDbaasBackup
{
public static Task<GetDbaasBackupResult> InvokeAsync(GetDbaasBackupArgs args, InvokeOptions? opts = null)
public static Output<GetDbaasBackupResult> Invoke(GetDbaasBackupInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetDbaasBackupResult> getDbaasBackup(GetDbaasBackupArgs args, InvokeOptions options)
public static Output<GetDbaasBackupResult> getDbaasBackup(GetDbaasBackupArgs args, InvokeOptions options)
fn::invoke:
function: edgecenter:index/getDbaasBackup:getDbaasBackup
arguments:
# arguments dictionarydata "edgecenter_get_dbaas_backup" "name" {
# arguments
}The following arguments are supported:
- Id string
- The backup UUID. Either 'id' or 'name' must be specified.
- Name string
- The unique backup name. Either 'id' or 'name' must be specified.
- Project
Id double - The project ID. Either 'projectid' or 'projectname' must be specified.
- Project
Name string - The project name. Either 'projectid' or 'projectname' must be specified.
- Region
Id double - The region ID. Either 'regionid' or 'regionname' must be specified.
- Region
Name string - The region name. Either 'regionid' or 'regionname' must be specified.
- Id string
- The backup UUID. Either 'id' or 'name' must be specified.
- Name string
- The unique backup name. Either 'id' or 'name' must be specified.
- Project
Id float64 - The project ID. Either 'projectid' or 'projectname' must be specified.
- Project
Name string - The project name. Either 'projectid' or 'projectname' must be specified.
- Region
Id float64 - The region ID. Either 'regionid' or 'regionname' must be specified.
- Region
Name string - The region name. Either 'regionid' or 'regionname' must be specified.
- id string
- The backup UUID. Either 'id' or 'name' must be specified.
- name string
- The unique backup name. Either 'id' or 'name' must be specified.
- project_
id number - The project ID. Either 'projectid' or 'projectname' must be specified.
- project_
name string - The project name. Either 'projectid' or 'projectname' must be specified.
- region_
id number - The region ID. Either 'regionid' or 'regionname' must be specified.
- region_
name string - The region name. Either 'regionid' or 'regionname' must be specified.
- id String
- The backup UUID. Either 'id' or 'name' must be specified.
- name String
- The unique backup name. Either 'id' or 'name' must be specified.
- project
Id Double - The project ID. Either 'projectid' or 'projectname' must be specified.
- project
Name String - The project name. Either 'projectid' or 'projectname' must be specified.
- region
Id Double - The region ID. Either 'regionid' or 'regionname' must be specified.
- region
Name String - The region name. Either 'regionid' or 'regionname' must be specified.
- id string
- The backup UUID. Either 'id' or 'name' must be specified.
- name string
- The unique backup name. Either 'id' or 'name' must be specified.
- project
Id number - The project ID. Either 'projectid' or 'projectname' must be specified.
- project
Name string - The project name. Either 'projectid' or 'projectname' must be specified.
- region
Id number - The region ID. Either 'regionid' or 'regionname' must be specified.
- region
Name string - The region name. Either 'regionid' or 'regionname' must be specified.
- id str
- The backup UUID. Either 'id' or 'name' must be specified.
- name str
- The unique backup name. Either 'id' or 'name' must be specified.
- project_
id float - The project ID. Either 'projectid' or 'projectname' must be specified.
- project_
name str - The project name. Either 'projectid' or 'projectname' must be specified.
- region_
id float - The region ID. Either 'regionid' or 'regionname' must be specified.
- region_
name str - The region name. Either 'regionid' or 'regionname' must be specified.
- id String
- The backup UUID. Either 'id' or 'name' must be specified.
- name String
- The unique backup name. Either 'id' or 'name' must be specified.
- project
Id Number - The project ID. Either 'projectid' or 'projectname' must be specified.
- project
Name String - The project name. Either 'projectid' or 'projectname' must be specified.
- region
Id Number - The region ID. Either 'regionid' or 'regionname' must be specified.
- region
Name String - The region name. Either 'regionid' or 'regionname' must be specified.
getDbaasBackup Result
The following output properties are available:
- Backup
Type string - Cluster
Id string - Created
At string - Creator
Task stringId - Dbms
List<Get
Dbaas Backup Dbm> - Description string
- Finished
At string - Has
Child bool - Is
Service bool - Parent
Id string - Size double
- Status string
- Task
Id string - Updated
At string - Id string
- The backup UUID. Either 'id' or 'name' must be specified.
- Name string
- The unique backup name. Either 'id' or 'name' must be specified.
- Project
Id double - The project ID. Either 'projectid' or 'projectname' must be specified.
- Project
Name string - The project name. Either 'projectid' or 'projectname' must be specified.
- Region
Id double - The region ID. Either 'regionid' or 'regionname' must be specified.
- Region
Name string - The region name. Either 'regionid' or 'regionname' must be specified.
- Backup
Type string - Cluster
Id string - Created
At string - Creator
Task stringId - Dbms
[]Get
Dbaas Backup Dbm - Description string
- Finished
At string - Has
Child bool - Is
Service bool - Parent
Id string - Size float64
- Status string
- Task
Id string - Updated
At string - Id string
- The backup UUID. Either 'id' or 'name' must be specified.
- Name string
- The unique backup name. Either 'id' or 'name' must be specified.
- Project
Id float64 - The project ID. Either 'projectid' or 'projectname' must be specified.
- Project
Name string - The project name. Either 'projectid' or 'projectname' must be specified.
- Region
Id float64 - The region ID. Either 'regionid' or 'regionname' must be specified.
- Region
Name string - The region name. Either 'regionid' or 'regionname' must be specified.
- backup_
type string - cluster_
id string - created_
at string - creator_
task_ stringid - dbms list(object)
- description string
- finished_
at string - has_
child bool - is_
service bool - parent_
id string - size number
- status string
- task_
id string - updated_
at string - id string
- The backup UUID. Either 'id' or 'name' must be specified.
- name string
- The unique backup name. Either 'id' or 'name' must be specified.
- project_
id number - The project ID. Either 'projectid' or 'projectname' must be specified.
- project_
name string - The project name. Either 'projectid' or 'projectname' must be specified.
- region_
id number - The region ID. Either 'regionid' or 'regionname' must be specified.
- region_
name string - The region name. Either 'regionid' or 'regionname' must be specified.
- backup
Type String - cluster
Id String - created
At String - creator
Task StringId - dbms
List<Get
Dbaas Backup Dbm> - description String
- finished
At String - has
Child Boolean - is
Service Boolean - parent
Id String - size Double
- status String
- task
Id String - updated
At String - id String
- The backup UUID. Either 'id' or 'name' must be specified.
- name String
- The unique backup name. Either 'id' or 'name' must be specified.
- project
Id Double - The project ID. Either 'projectid' or 'projectname' must be specified.
- project
Name String - The project name. Either 'projectid' or 'projectname' must be specified.
- region
Id Double - The region ID. Either 'regionid' or 'regionname' must be specified.
- region
Name String - The region name. Either 'regionid' or 'regionname' must be specified.
- backup
Type string - cluster
Id string - created
At string - creator
Task stringId - dbms
Get
Dbaas Backup Dbm[] - description string
- finished
At string - has
Child boolean - is
Service boolean - parent
Id string - size number
- status string
- task
Id string - updated
At string - id string
- The backup UUID. Either 'id' or 'name' must be specified.
- name string
- The unique backup name. Either 'id' or 'name' must be specified.
- project
Id number - The project ID. Either 'projectid' or 'projectname' must be specified.
- project
Name string - The project name. Either 'projectid' or 'projectname' must be specified.
- region
Id number - The region ID. Either 'regionid' or 'regionname' must be specified.
- region
Name string - The region name. Either 'regionid' or 'regionname' must be specified.
- backup_
type str - cluster_
id str - created_
at str - creator_
task_ strid - dbms
Sequence[Get
Dbaas Backup Dbm] - description str
- finished_
at str - has_
child bool - is_
service bool - parent_
id str - size float
- status str
- task_
id str - updated_
at str - id str
- The backup UUID. Either 'id' or 'name' must be specified.
- name str
- The unique backup name. Either 'id' or 'name' must be specified.
- project_
id float - The project ID. Either 'projectid' or 'projectname' must be specified.
- project_
name str - The project name. Either 'projectid' or 'projectname' must be specified.
- region_
id float - The region ID. Either 'regionid' or 'regionname' must be specified.
- region_
name str - The region name. Either 'regionid' or 'regionname' must be specified.
- backup
Type String - cluster
Id String - created
At String - creator
Task StringId - dbms List<Property Map>
- description String
- finished
At String - has
Child Boolean - is
Service Boolean - parent
Id String - size Number
- status String
- task
Id String - updated
At String - id String
- The backup UUID. Either 'id' or 'name' must be specified.
- name String
- The unique backup name. Either 'id' or 'name' must be specified.
- project
Id Number - The project ID. Either 'projectid' or 'projectname' must be specified.
- project
Name String - The project name. Either 'projectid' or 'projectname' must be specified.
- region
Id Number - The region ID. Either 'regionid' or 'regionname' must be specified.
- region
Name String - The region name. Either 'regionid' or 'regionname' must be specified.
Supporting Types
GetDbaasBackupDbm
Package Details
- Repository
- edgecenter edge-center/terraform-provider-edgecenter
- License
- Notes
- This Pulumi package is based on the
edgecenterTerraform Provider.
Viewing docs for edgecenter 0.14.4
published on Thursday, Jul 30, 2026 by edge-center
published on Thursday, Jul 30, 2026 by edge-center