1. Packages
  2. Flexibleengine Provider
  3. API Docs
  4. DdsBackup
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

flexibleengine.DdsBackup

Explore with Pulumi AI

flexibleengine logo
flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud

    Manages a DDS backup resource within FlexibleEngine.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as flexibleengine from "@pulumi/flexibleengine";
    
    const config = new pulumi.Config();
    const ddsInstanceId = config.requireObject("ddsInstanceId");
    const name = config.requireObject("name");
    const test = new flexibleengine.DdsBackup("test", {instanceId: ddsInstanceId});
    
    import pulumi
    import pulumi_flexibleengine as flexibleengine
    
    config = pulumi.Config()
    dds_instance_id = config.require_object("ddsInstanceId")
    name = config.require_object("name")
    test = flexibleengine.DdsBackup("test", instance_id=dds_instance_id)
    
    package main
    
    import (
    	"github.com/pulumi/pulumi-terraform-provider/sdks/go/flexibleengine/flexibleengine"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
    	"github.com/pulumi/pulumi/sdk/v3/go/pulumi/config"
    )
    
    func main() {
    	pulumi.Run(func(ctx *pulumi.Context) error {
    		cfg := config.New(ctx, "")
    		ddsInstanceId := cfg.RequireObject("ddsInstanceId")
    		name := cfg.RequireObject("name")
    		_, err := flexibleengine.NewDdsBackup(ctx, "test", &flexibleengine.DdsBackupArgs{
    			InstanceId: pulumi.Any(ddsInstanceId),
    		})
    		if err != nil {
    			return err
    		}
    		return nil
    	})
    }
    
    using System.Collections.Generic;
    using System.Linq;
    using Pulumi;
    using Flexibleengine = Pulumi.Flexibleengine;
    
    return await Deployment.RunAsync(() => 
    {
        var config = new Config();
        var ddsInstanceId = config.RequireObject<dynamic>("ddsInstanceId");
        var name = config.RequireObject<dynamic>("name");
        var test = new Flexibleengine.DdsBackup("test", new()
        {
            InstanceId = ddsInstanceId,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.flexibleengine.DdsBackup;
    import com.pulumi.flexibleengine.DdsBackupArgs;
    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 config = ctx.config();
            final var ddsInstanceId = config.get("ddsInstanceId");
            final var name = config.get("name");
            var test = new DdsBackup("test", DdsBackupArgs.builder()
                .instanceId(ddsInstanceId)
                .build());
    
        }
    }
    
    configuration:
      ddsInstanceId:
        type: dynamic
      name:
        type: dynamic
    resources:
      test:
        type: flexibleengine:DdsBackup
        properties:
          instanceId: ${ddsInstanceId}
    

    Create DdsBackup Resource

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

    Constructor syntax

    new DdsBackup(name: string, args: DdsBackupArgs, opts?: CustomResourceOptions);
    @overload
    def DdsBackup(resource_name: str,
                  args: DdsBackupArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def DdsBackup(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  instance_id: Optional[str] = None,
                  dds_backup_id: Optional[str] = None,
                  description: Optional[str] = None,
                  name: Optional[str] = None,
                  region: Optional[str] = None,
                  timeouts: Optional[DdsBackupTimeoutsArgs] = None)
    func NewDdsBackup(ctx *Context, name string, args DdsBackupArgs, opts ...ResourceOption) (*DdsBackup, error)
    public DdsBackup(string name, DdsBackupArgs args, CustomResourceOptions? opts = null)
    public DdsBackup(String name, DdsBackupArgs args)
    public DdsBackup(String name, DdsBackupArgs args, CustomResourceOptions options)
    
    type: flexibleengine:DdsBackup
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args DdsBackupArgs
    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 DdsBackupArgs
    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 DdsBackupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args DdsBackupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args DdsBackupArgs
    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 ddsBackupResource = new Flexibleengine.DdsBackup("ddsBackupResource", new()
    {
        InstanceId = "string",
        DdsBackupId = "string",
        Description = "string",
        Name = "string",
        Region = "string",
        Timeouts = new Flexibleengine.Inputs.DdsBackupTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
        },
    });
    
    example, err := flexibleengine.NewDdsBackup(ctx, "ddsBackupResource", &flexibleengine.DdsBackupArgs{
    	InstanceId:  pulumi.String("string"),
    	DdsBackupId: pulumi.String("string"),
    	Description: pulumi.String("string"),
    	Name:        pulumi.String("string"),
    	Region:      pulumi.String("string"),
    	Timeouts: &flexibleengine.DdsBackupTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    	},
    })
    
    var ddsBackupResource = new DdsBackup("ddsBackupResource", DdsBackupArgs.builder()
        .instanceId("string")
        .ddsBackupId("string")
        .description("string")
        .name("string")
        .region("string")
        .timeouts(DdsBackupTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .build())
        .build());
    
    dds_backup_resource = flexibleengine.DdsBackup("ddsBackupResource",
        instance_id="string",
        dds_backup_id="string",
        description="string",
        name="string",
        region="string",
        timeouts={
            "create": "string",
            "delete": "string",
        })
    
    const ddsBackupResource = new flexibleengine.DdsBackup("ddsBackupResource", {
        instanceId: "string",
        ddsBackupId: "string",
        description: "string",
        name: "string",
        region: "string",
        timeouts: {
            create: "string",
            "delete": "string",
        },
    });
    
    type: flexibleengine:DdsBackup
    properties:
        ddsBackupId: string
        description: string
        instanceId: string
        name: string
        region: string
        timeouts:
            create: string
            delete: string
    

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

    InstanceId string
    Specifies the ID of a DDS instance. Changing this parameter will create a new resource.
    DdsBackupId string
    The resource ID.
    Description string
    Specifies the manual backup description. Changing this parameter will create a new resource.
    Name string
    Specifies the manual backup name. The value must be 4 to 64 characters in length and start with a letter (from A to Z or from a to z). It is case-sensitive and can contain only letters, digits (from 0 to 9), hyphens (-), and underscores (_). Changing this parameter will create a new resource.
    Region string
    Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
    Timeouts DdsBackupTimeouts
    InstanceId string
    Specifies the ID of a DDS instance. Changing this parameter will create a new resource.
    DdsBackupId string
    The resource ID.
    Description string
    Specifies the manual backup description. Changing this parameter will create a new resource.
    Name string
    Specifies the manual backup name. The value must be 4 to 64 characters in length and start with a letter (from A to Z or from a to z). It is case-sensitive and can contain only letters, digits (from 0 to 9), hyphens (-), and underscores (_). Changing this parameter will create a new resource.
    Region string
    Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
    Timeouts DdsBackupTimeoutsArgs
    instanceId String
    Specifies the ID of a DDS instance. Changing this parameter will create a new resource.
    ddsBackupId String
    The resource ID.
    description String
    Specifies the manual backup description. Changing this parameter will create a new resource.
    name String
    Specifies the manual backup name. The value must be 4 to 64 characters in length and start with a letter (from A to Z or from a to z). It is case-sensitive and can contain only letters, digits (from 0 to 9), hyphens (-), and underscores (_). Changing this parameter will create a new resource.
    region String
    Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
    timeouts DdsBackupTimeouts
    instanceId string
    Specifies the ID of a DDS instance. Changing this parameter will create a new resource.
    ddsBackupId string
    The resource ID.
    description string
    Specifies the manual backup description. Changing this parameter will create a new resource.
    name string
    Specifies the manual backup name. The value must be 4 to 64 characters in length and start with a letter (from A to Z or from a to z). It is case-sensitive and can contain only letters, digits (from 0 to 9), hyphens (-), and underscores (_). Changing this parameter will create a new resource.
    region string
    Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
    timeouts DdsBackupTimeouts
    instance_id str
    Specifies the ID of a DDS instance. Changing this parameter will create a new resource.
    dds_backup_id str
    The resource ID.
    description str
    Specifies the manual backup description. Changing this parameter will create a new resource.
    name str
    Specifies the manual backup name. The value must be 4 to 64 characters in length and start with a letter (from A to Z or from a to z). It is case-sensitive and can contain only letters, digits (from 0 to 9), hyphens (-), and underscores (_). Changing this parameter will create a new resource.
    region str
    Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
    timeouts DdsBackupTimeoutsArgs
    instanceId String
    Specifies the ID of a DDS instance. Changing this parameter will create a new resource.
    ddsBackupId String
    The resource ID.
    description String
    Specifies the manual backup description. Changing this parameter will create a new resource.
    name String
    Specifies the manual backup name. The value must be 4 to 64 characters in length and start with a letter (from A to Z or from a to z). It is case-sensitive and can contain only letters, digits (from 0 to 9), hyphens (-), and underscores (_). Changing this parameter will create a new resource.
    region String
    Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
    timeouts Property Map

    Outputs

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

    BeginTime string
    Indicates the start time of the backup. The format is yyyy-mm-dd hh:mm:ss. The value is in UTC format.
    Datastores List<DdsBackupDatastore>
    Indicates the database version. The datastore object structure is documented below.
    EndTime string
    Indicates the end time of the backup. The format is yyyy-mm-dd hh:mm:ss. The value is in UTC format.
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceName string
    Indicates the name of a DDS instance.
    Size double
    Indicates the backup size in KB.
    Status string
    Indicates the backup status. Valid value:

    • BUILDING: Backup in progress.
    • COMPLETED: Backup completed.
    • FAILED: Backup failed.
    • DISABLED: Backup being deleted.
    Type string
    Indicates the DB engine.
    BeginTime string
    Indicates the start time of the backup. The format is yyyy-mm-dd hh:mm:ss. The value is in UTC format.
    Datastores []DdsBackupDatastore
    Indicates the database version. The datastore object structure is documented below.
    EndTime string
    Indicates the end time of the backup. The format is yyyy-mm-dd hh:mm:ss. The value is in UTC format.
    Id string
    The provider-assigned unique ID for this managed resource.
    InstanceName string
    Indicates the name of a DDS instance.
    Size float64
    Indicates the backup size in KB.
    Status string
    Indicates the backup status. Valid value:

    • BUILDING: Backup in progress.
    • COMPLETED: Backup completed.
    • FAILED: Backup failed.
    • DISABLED: Backup being deleted.
    Type string
    Indicates the DB engine.
    beginTime String
    Indicates the start time of the backup. The format is yyyy-mm-dd hh:mm:ss. The value is in UTC format.
    datastores List<DdsBackupDatastore>
    Indicates the database version. The datastore object structure is documented below.
    endTime String
    Indicates the end time of the backup. The format is yyyy-mm-dd hh:mm:ss. The value is in UTC format.
    id String
    The provider-assigned unique ID for this managed resource.
    instanceName String
    Indicates the name of a DDS instance.
    size Double
    Indicates the backup size in KB.
    status String
    Indicates the backup status. Valid value:

    • BUILDING: Backup in progress.
    • COMPLETED: Backup completed.
    • FAILED: Backup failed.
    • DISABLED: Backup being deleted.
    type String
    Indicates the DB engine.
    beginTime string
    Indicates the start time of the backup. The format is yyyy-mm-dd hh:mm:ss. The value is in UTC format.
    datastores DdsBackupDatastore[]
    Indicates the database version. The datastore object structure is documented below.
    endTime string
    Indicates the end time of the backup. The format is yyyy-mm-dd hh:mm:ss. The value is in UTC format.
    id string
    The provider-assigned unique ID for this managed resource.
    instanceName string
    Indicates the name of a DDS instance.
    size number
    Indicates the backup size in KB.
    status string
    Indicates the backup status. Valid value:

    • BUILDING: Backup in progress.
    • COMPLETED: Backup completed.
    • FAILED: Backup failed.
    • DISABLED: Backup being deleted.
    type string
    Indicates the DB engine.
    begin_time str
    Indicates the start time of the backup. The format is yyyy-mm-dd hh:mm:ss. The value is in UTC format.
    datastores Sequence[DdsBackupDatastore]
    Indicates the database version. The datastore object structure is documented below.
    end_time str
    Indicates the end time of the backup. The format is yyyy-mm-dd hh:mm:ss. The value is in UTC format.
    id str
    The provider-assigned unique ID for this managed resource.
    instance_name str
    Indicates the name of a DDS instance.
    size float
    Indicates the backup size in KB.
    status str
    Indicates the backup status. Valid value:

    • BUILDING: Backup in progress.
    • COMPLETED: Backup completed.
    • FAILED: Backup failed.
    • DISABLED: Backup being deleted.
    type str
    Indicates the DB engine.
    beginTime String
    Indicates the start time of the backup. The format is yyyy-mm-dd hh:mm:ss. The value is in UTC format.
    datastores List<Property Map>
    Indicates the database version. The datastore object structure is documented below.
    endTime String
    Indicates the end time of the backup. The format is yyyy-mm-dd hh:mm:ss. The value is in UTC format.
    id String
    The provider-assigned unique ID for this managed resource.
    instanceName String
    Indicates the name of a DDS instance.
    size Number
    Indicates the backup size in KB.
    status String
    Indicates the backup status. Valid value:

    • BUILDING: Backup in progress.
    • COMPLETED: Backup completed.
    • FAILED: Backup failed.
    • DISABLED: Backup being deleted.
    type String
    Indicates the DB engine.

    Look up Existing DdsBackup Resource

    Get an existing DdsBackup 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?: DdsBackupState, opts?: CustomResourceOptions): DdsBackup
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            begin_time: Optional[str] = None,
            datastores: Optional[Sequence[DdsBackupDatastoreArgs]] = None,
            dds_backup_id: Optional[str] = None,
            description: Optional[str] = None,
            end_time: Optional[str] = None,
            instance_id: Optional[str] = None,
            instance_name: Optional[str] = None,
            name: Optional[str] = None,
            region: Optional[str] = None,
            size: Optional[float] = None,
            status: Optional[str] = None,
            timeouts: Optional[DdsBackupTimeoutsArgs] = None,
            type: Optional[str] = None) -> DdsBackup
    func GetDdsBackup(ctx *Context, name string, id IDInput, state *DdsBackupState, opts ...ResourceOption) (*DdsBackup, error)
    public static DdsBackup Get(string name, Input<string> id, DdsBackupState? state, CustomResourceOptions? opts = null)
    public static DdsBackup get(String name, Output<String> id, DdsBackupState state, CustomResourceOptions options)
    resources:  _:    type: flexibleengine:DdsBackup    get:      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:
    BeginTime string
    Indicates the start time of the backup. The format is yyyy-mm-dd hh:mm:ss. The value is in UTC format.
    Datastores List<DdsBackupDatastore>
    Indicates the database version. The datastore object structure is documented below.
    DdsBackupId string
    The resource ID.
    Description string
    Specifies the manual backup description. Changing this parameter will create a new resource.
    EndTime string
    Indicates the end time of the backup. The format is yyyy-mm-dd hh:mm:ss. The value is in UTC format.
    InstanceId string
    Specifies the ID of a DDS instance. Changing this parameter will create a new resource.
    InstanceName string
    Indicates the name of a DDS instance.
    Name string
    Specifies the manual backup name. The value must be 4 to 64 characters in length and start with a letter (from A to Z or from a to z). It is case-sensitive and can contain only letters, digits (from 0 to 9), hyphens (-), and underscores (_). Changing this parameter will create a new resource.
    Region string
    Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
    Size double
    Indicates the backup size in KB.
    Status string
    Indicates the backup status. Valid value:

    • BUILDING: Backup in progress.
    • COMPLETED: Backup completed.
    • FAILED: Backup failed.
    • DISABLED: Backup being deleted.
    Timeouts DdsBackupTimeouts
    Type string
    Indicates the DB engine.
    BeginTime string
    Indicates the start time of the backup. The format is yyyy-mm-dd hh:mm:ss. The value is in UTC format.
    Datastores []DdsBackupDatastoreArgs
    Indicates the database version. The datastore object structure is documented below.
    DdsBackupId string
    The resource ID.
    Description string
    Specifies the manual backup description. Changing this parameter will create a new resource.
    EndTime string
    Indicates the end time of the backup. The format is yyyy-mm-dd hh:mm:ss. The value is in UTC format.
    InstanceId string
    Specifies the ID of a DDS instance. Changing this parameter will create a new resource.
    InstanceName string
    Indicates the name of a DDS instance.
    Name string
    Specifies the manual backup name. The value must be 4 to 64 characters in length and start with a letter (from A to Z or from a to z). It is case-sensitive and can contain only letters, digits (from 0 to 9), hyphens (-), and underscores (_). Changing this parameter will create a new resource.
    Region string
    Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
    Size float64
    Indicates the backup size in KB.
    Status string
    Indicates the backup status. Valid value:

    • BUILDING: Backup in progress.
    • COMPLETED: Backup completed.
    • FAILED: Backup failed.
    • DISABLED: Backup being deleted.
    Timeouts DdsBackupTimeoutsArgs
    Type string
    Indicates the DB engine.
    beginTime String
    Indicates the start time of the backup. The format is yyyy-mm-dd hh:mm:ss. The value is in UTC format.
    datastores List<DdsBackupDatastore>
    Indicates the database version. The datastore object structure is documented below.
    ddsBackupId String
    The resource ID.
    description String
    Specifies the manual backup description. Changing this parameter will create a new resource.
    endTime String
    Indicates the end time of the backup. The format is yyyy-mm-dd hh:mm:ss. The value is in UTC format.
    instanceId String
    Specifies the ID of a DDS instance. Changing this parameter will create a new resource.
    instanceName String
    Indicates the name of a DDS instance.
    name String
    Specifies the manual backup name. The value must be 4 to 64 characters in length and start with a letter (from A to Z or from a to z). It is case-sensitive and can contain only letters, digits (from 0 to 9), hyphens (-), and underscores (_). Changing this parameter will create a new resource.
    region String
    Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
    size Double
    Indicates the backup size in KB.
    status String
    Indicates the backup status. Valid value:

    • BUILDING: Backup in progress.
    • COMPLETED: Backup completed.
    • FAILED: Backup failed.
    • DISABLED: Backup being deleted.
    timeouts DdsBackupTimeouts
    type String
    Indicates the DB engine.
    beginTime string
    Indicates the start time of the backup. The format is yyyy-mm-dd hh:mm:ss. The value is in UTC format.
    datastores DdsBackupDatastore[]
    Indicates the database version. The datastore object structure is documented below.
    ddsBackupId string
    The resource ID.
    description string
    Specifies the manual backup description. Changing this parameter will create a new resource.
    endTime string
    Indicates the end time of the backup. The format is yyyy-mm-dd hh:mm:ss. The value is in UTC format.
    instanceId string
    Specifies the ID of a DDS instance. Changing this parameter will create a new resource.
    instanceName string
    Indicates the name of a DDS instance.
    name string
    Specifies the manual backup name. The value must be 4 to 64 characters in length and start with a letter (from A to Z or from a to z). It is case-sensitive and can contain only letters, digits (from 0 to 9), hyphens (-), and underscores (_). Changing this parameter will create a new resource.
    region string
    Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
    size number
    Indicates the backup size in KB.
    status string
    Indicates the backup status. Valid value:

    • BUILDING: Backup in progress.
    • COMPLETED: Backup completed.
    • FAILED: Backup failed.
    • DISABLED: Backup being deleted.
    timeouts DdsBackupTimeouts
    type string
    Indicates the DB engine.
    begin_time str
    Indicates the start time of the backup. The format is yyyy-mm-dd hh:mm:ss. The value is in UTC format.
    datastores Sequence[DdsBackupDatastoreArgs]
    Indicates the database version. The datastore object structure is documented below.
    dds_backup_id str
    The resource ID.
    description str
    Specifies the manual backup description. Changing this parameter will create a new resource.
    end_time str
    Indicates the end time of the backup. The format is yyyy-mm-dd hh:mm:ss. The value is in UTC format.
    instance_id str
    Specifies the ID of a DDS instance. Changing this parameter will create a new resource.
    instance_name str
    Indicates the name of a DDS instance.
    name str
    Specifies the manual backup name. The value must be 4 to 64 characters in length and start with a letter (from A to Z or from a to z). It is case-sensitive and can contain only letters, digits (from 0 to 9), hyphens (-), and underscores (_). Changing this parameter will create a new resource.
    region str
    Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
    size float
    Indicates the backup size in KB.
    status str
    Indicates the backup status. Valid value:

    • BUILDING: Backup in progress.
    • COMPLETED: Backup completed.
    • FAILED: Backup failed.
    • DISABLED: Backup being deleted.
    timeouts DdsBackupTimeoutsArgs
    type str
    Indicates the DB engine.
    beginTime String
    Indicates the start time of the backup. The format is yyyy-mm-dd hh:mm:ss. The value is in UTC format.
    datastores List<Property Map>
    Indicates the database version. The datastore object structure is documented below.
    ddsBackupId String
    The resource ID.
    description String
    Specifies the manual backup description. Changing this parameter will create a new resource.
    endTime String
    Indicates the end time of the backup. The format is yyyy-mm-dd hh:mm:ss. The value is in UTC format.
    instanceId String
    Specifies the ID of a DDS instance. Changing this parameter will create a new resource.
    instanceName String
    Indicates the name of a DDS instance.
    name String
    Specifies the manual backup name. The value must be 4 to 64 characters in length and start with a letter (from A to Z or from a to z). It is case-sensitive and can contain only letters, digits (from 0 to 9), hyphens (-), and underscores (_). Changing this parameter will create a new resource.
    region String
    Specifies the region in which to create the resource. If omitted, the provider-level region will be used. Changing this parameter will create a new resource.
    size Number
    Indicates the backup size in KB.
    status String
    Indicates the backup status. Valid value:

    • BUILDING: Backup in progress.
    • COMPLETED: Backup completed.
    • FAILED: Backup failed.
    • DISABLED: Backup being deleted.
    timeouts Property Map
    type String
    Indicates the DB engine.

    Supporting Types

    DdsBackupDatastore, DdsBackupDatastoreArgs

    Type string
    Indicates the DB engine.
    Version string
    Indicates the database version. The value can be 4.2, 4.0, or 3.4.
    Type string
    Indicates the DB engine.
    Version string
    Indicates the database version. The value can be 4.2, 4.0, or 3.4.
    type String
    Indicates the DB engine.
    version String
    Indicates the database version. The value can be 4.2, 4.0, or 3.4.
    type string
    Indicates the DB engine.
    version string
    Indicates the database version. The value can be 4.2, 4.0, or 3.4.
    type str
    Indicates the DB engine.
    version str
    Indicates the database version. The value can be 4.2, 4.0, or 3.4.
    type String
    Indicates the DB engine.
    version String
    Indicates the database version. The value can be 4.2, 4.0, or 3.4.

    DdsBackupTimeouts, DdsBackupTimeoutsArgs

    Create string
    Delete string
    Create string
    Delete string
    create String
    delete String
    create string
    delete string
    create str
    delete str
    create String
    delete String

    Import

    The DDS backup can be imported using the instance ID and the backup ID separated by a slash, e.g.:

    $ pulumi import flexibleengine:index/ddsBackup:DdsBackup test 6fb8b99944c7459da32f751f0edea756br02/0ce123456a00f2591fabc00385ff1234
    

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

    Package Details

    Repository
    flexibleengine flexibleenginecloud/terraform-provider-flexibleengine
    License
    Notes
    This Pulumi package is based on the flexibleengine Terraform Provider.
    flexibleengine logo
    flexibleengine 1.46.0 published on Monday, Apr 14, 2025 by flexibleenginecloud