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

flexibleengine.RdsBackup

Explore with Pulumi AI

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

    Manages a RDS manual backup resource within FlexibleEngine.

    Example Usage

    import * as pulumi from "@pulumi/pulumi";
    import * as flexibleengine from "@pulumi/flexibleengine";
    
    const config = new pulumi.Config();
    const instanceId = config.requireObject("instanceId");
    const backupName = config.requireObject("backupName");
    const test = new flexibleengine.RdsBackup("test", {instanceId: instanceId});
    
    import pulumi
    import pulumi_flexibleengine as flexibleengine
    
    config = pulumi.Config()
    instance_id = config.require_object("instanceId")
    backup_name = config.require_object("backupName")
    test = flexibleengine.RdsBackup("test", instance_id=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, "")
    		instanceId := cfg.RequireObject("instanceId")
    		backupName := cfg.RequireObject("backupName")
    		_, err := flexibleengine.NewRdsBackup(ctx, "test", &flexibleengine.RdsBackupArgs{
    			InstanceId: pulumi.Any(instanceId),
    		})
    		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 instanceId = config.RequireObject<dynamic>("instanceId");
        var backupName = config.RequireObject<dynamic>("backupName");
        var test = new Flexibleengine.RdsBackup("test", new()
        {
            InstanceId = instanceId,
        });
    
    });
    
    package generated_program;
    
    import com.pulumi.Context;
    import com.pulumi.Pulumi;
    import com.pulumi.core.Output;
    import com.pulumi.flexibleengine.RdsBackup;
    import com.pulumi.flexibleengine.RdsBackupArgs;
    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 instanceId = config.get("instanceId");
            final var backupName = config.get("backupName");
            var test = new RdsBackup("test", RdsBackupArgs.builder()
                .instanceId(instanceId)
                .build());
    
        }
    }
    
    configuration:
      instanceId:
        type: dynamic
      backupName:
        type: dynamic
    resources:
      test:
        type: flexibleengine:RdsBackup
        properties:
          instanceId: ${instanceId}
    

    Create RdsBackup Resource

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

    Constructor syntax

    new RdsBackup(name: string, args: RdsBackupArgs, opts?: CustomResourceOptions);
    @overload
    def RdsBackup(resource_name: str,
                  args: RdsBackupArgs,
                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def RdsBackup(resource_name: str,
                  opts: Optional[ResourceOptions] = None,
                  instance_id: Optional[str] = None,
                  databases: Optional[Sequence[RdsBackupDatabaseArgs]] = None,
                  description: Optional[str] = None,
                  name: Optional[str] = None,
                  rds_backup_id: Optional[str] = None,
                  region: Optional[str] = None,
                  timeouts: Optional[RdsBackupTimeoutsArgs] = None)
    func NewRdsBackup(ctx *Context, name string, args RdsBackupArgs, opts ...ResourceOption) (*RdsBackup, error)
    public RdsBackup(string name, RdsBackupArgs args, CustomResourceOptions? opts = null)
    public RdsBackup(String name, RdsBackupArgs args)
    public RdsBackup(String name, RdsBackupArgs args, CustomResourceOptions options)
    
    type: flexibleengine:RdsBackup
    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 RdsBackupArgs
    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 RdsBackupArgs
    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 RdsBackupArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args RdsBackupArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args RdsBackupArgs
    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 rdsBackupResource = new Flexibleengine.RdsBackup("rdsBackupResource", new()
    {
        InstanceId = "string",
        Databases = new[]
        {
            new Flexibleengine.Inputs.RdsBackupDatabaseArgs
            {
                Name = "string",
            },
        },
        Description = "string",
        Name = "string",
        RdsBackupId = "string",
        Region = "string",
        Timeouts = new Flexibleengine.Inputs.RdsBackupTimeoutsArgs
        {
            Create = "string",
            Delete = "string",
        },
    });
    
    example, err := flexibleengine.NewRdsBackup(ctx, "rdsBackupResource", &flexibleengine.RdsBackupArgs{
    	InstanceId: pulumi.String("string"),
    	Databases: flexibleengine.RdsBackupDatabaseArray{
    		&flexibleengine.RdsBackupDatabaseArgs{
    			Name: pulumi.String("string"),
    		},
    	},
    	Description: pulumi.String("string"),
    	Name:        pulumi.String("string"),
    	RdsBackupId: pulumi.String("string"),
    	Region:      pulumi.String("string"),
    	Timeouts: &flexibleengine.RdsBackupTimeoutsArgs{
    		Create: pulumi.String("string"),
    		Delete: pulumi.String("string"),
    	},
    })
    
    var rdsBackupResource = new RdsBackup("rdsBackupResource", RdsBackupArgs.builder()
        .instanceId("string")
        .databases(RdsBackupDatabaseArgs.builder()
            .name("string")
            .build())
        .description("string")
        .name("string")
        .rdsBackupId("string")
        .region("string")
        .timeouts(RdsBackupTimeoutsArgs.builder()
            .create("string")
            .delete("string")
            .build())
        .build());
    
    rds_backup_resource = flexibleengine.RdsBackup("rdsBackupResource",
        instance_id="string",
        databases=[{
            "name": "string",
        }],
        description="string",
        name="string",
        rds_backup_id="string",
        region="string",
        timeouts={
            "create": "string",
            "delete": "string",
        })
    
    const rdsBackupResource = new flexibleengine.RdsBackup("rdsBackupResource", {
        instanceId: "string",
        databases: [{
            name: "string",
        }],
        description: "string",
        name: "string",
        rdsBackupId: "string",
        region: "string",
        timeouts: {
            create: "string",
            "delete": "string",
        },
    });
    
    type: flexibleengine:RdsBackup
    properties:
        databases:
            - name: string
        description: string
        instanceId: string
        name: string
        rdsBackupId: string
        region: string
        timeouts:
            create: string
            delete: string
    

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

    InstanceId string
    Specifies the instance id. Changing this parameter will create a new resource.
    Databases List<RdsBackupDatabase>

    List of self-built Microsoft SQL Server databases that are partially backed up. (Only Microsoft SQL Server supports partial backups). The databases structure is documented below. Changing this parameter will create a new resource.

    The databases block supports:

    Description string
    The description about the backup.
    It contains a maximum of 256 characters and cannot contain the following special characters: > ! < " & ' =. Changing this parameter will create a new resource.
    Name string
    Database to be backed up for Microsoft SQL Server. Changing this parameter will create a new resource.
    RdsBackupId string
    The resource ID.
    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 RdsBackupTimeouts
    InstanceId string
    Specifies the instance id. Changing this parameter will create a new resource.
    Databases []RdsBackupDatabaseArgs

    List of self-built Microsoft SQL Server databases that are partially backed up. (Only Microsoft SQL Server supports partial backups). The databases structure is documented below. Changing this parameter will create a new resource.

    The databases block supports:

    Description string
    The description about the backup.
    It contains a maximum of 256 characters and cannot contain the following special characters: > ! < " & ' =. Changing this parameter will create a new resource.
    Name string
    Database to be backed up for Microsoft SQL Server. Changing this parameter will create a new resource.
    RdsBackupId string
    The resource ID.
    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 RdsBackupTimeoutsArgs
    instanceId String
    Specifies the instance id. Changing this parameter will create a new resource.
    databases List<RdsBackupDatabase>

    List of self-built Microsoft SQL Server databases that are partially backed up. (Only Microsoft SQL Server supports partial backups). The databases structure is documented below. Changing this parameter will create a new resource.

    The databases block supports:

    description String
    The description about the backup.
    It contains a maximum of 256 characters and cannot contain the following special characters: > ! < " & ' =. Changing this parameter will create a new resource.
    name String
    Database to be backed up for Microsoft SQL Server. Changing this parameter will create a new resource.
    rdsBackupId String
    The resource ID.
    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 RdsBackupTimeouts
    instanceId string
    Specifies the instance id. Changing this parameter will create a new resource.
    databases RdsBackupDatabase[]

    List of self-built Microsoft SQL Server databases that are partially backed up. (Only Microsoft SQL Server supports partial backups). The databases structure is documented below. Changing this parameter will create a new resource.

    The databases block supports:

    description string
    The description about the backup.
    It contains a maximum of 256 characters and cannot contain the following special characters: > ! < " & ' =. Changing this parameter will create a new resource.
    name string
    Database to be backed up for Microsoft SQL Server. Changing this parameter will create a new resource.
    rdsBackupId string
    The resource ID.
    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 RdsBackupTimeouts
    instance_id str
    Specifies the instance id. Changing this parameter will create a new resource.
    databases Sequence[RdsBackupDatabaseArgs]

    List of self-built Microsoft SQL Server databases that are partially backed up. (Only Microsoft SQL Server supports partial backups). The databases structure is documented below. Changing this parameter will create a new resource.

    The databases block supports:

    description str
    The description about the backup.
    It contains a maximum of 256 characters and cannot contain the following special characters: > ! < " & ' =. Changing this parameter will create a new resource.
    name str
    Database to be backed up for Microsoft SQL Server. Changing this parameter will create a new resource.
    rds_backup_id str
    The resource ID.
    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 RdsBackupTimeoutsArgs
    instanceId String
    Specifies the instance id. Changing this parameter will create a new resource.
    databases List<Property Map>

    List of self-built Microsoft SQL Server databases that are partially backed up. (Only Microsoft SQL Server supports partial backups). The databases structure is documented below. Changing this parameter will create a new resource.

    The databases block supports:

    description String
    The description about the backup.
    It contains a maximum of 256 characters and cannot contain the following special characters: > ! < " & ' =. Changing this parameter will create a new resource.
    name String
    Database to be backed up for Microsoft SQL Server. Changing this parameter will create a new resource.
    rdsBackupId String
    The resource ID.
    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 RdsBackup resource produces the following output properties:

    AssociatedWithDdm bool
    Whether a DDM instance has been associated.
    BeginTime string
    Backup start time in the "yyyy-mm-ddThh:mm:ssZ" format.
    EndTime string
    Backup end time in the "yyyy-mm-ddThh:mm:ssZ" format.
    Id string
    The provider-assigned unique ID for this managed resource.
    Size double
    Backup size in KB.
    Status string
    Backup status. The options are as follows:

    • BUILDING: Backup in progress.
    • COMPLETED: Backup completed.
    • FAILED: Backup failed.
    • DELETING: Backup being deleted.
    AssociatedWithDdm bool
    Whether a DDM instance has been associated.
    BeginTime string
    Backup start time in the "yyyy-mm-ddThh:mm:ssZ" format.
    EndTime string
    Backup end time in the "yyyy-mm-ddThh:mm:ssZ" format.
    Id string
    The provider-assigned unique ID for this managed resource.
    Size float64
    Backup size in KB.
    Status string
    Backup status. The options are as follows:

    • BUILDING: Backup in progress.
    • COMPLETED: Backup completed.
    • FAILED: Backup failed.
    • DELETING: Backup being deleted.
    associatedWithDdm Boolean
    Whether a DDM instance has been associated.
    beginTime String
    Backup start time in the "yyyy-mm-ddThh:mm:ssZ" format.
    endTime String
    Backup end time in the "yyyy-mm-ddThh:mm:ssZ" format.
    id String
    The provider-assigned unique ID for this managed resource.
    size Double
    Backup size in KB.
    status String
    Backup status. The options are as follows:

    • BUILDING: Backup in progress.
    • COMPLETED: Backup completed.
    • FAILED: Backup failed.
    • DELETING: Backup being deleted.
    associatedWithDdm boolean
    Whether a DDM instance has been associated.
    beginTime string
    Backup start time in the "yyyy-mm-ddThh:mm:ssZ" format.
    endTime string
    Backup end time in the "yyyy-mm-ddThh:mm:ssZ" format.
    id string
    The provider-assigned unique ID for this managed resource.
    size number
    Backup size in KB.
    status string
    Backup status. The options are as follows:

    • BUILDING: Backup in progress.
    • COMPLETED: Backup completed.
    • FAILED: Backup failed.
    • DELETING: Backup being deleted.
    associated_with_ddm bool
    Whether a DDM instance has been associated.
    begin_time str
    Backup start time in the "yyyy-mm-ddThh:mm:ssZ" format.
    end_time str
    Backup end time in the "yyyy-mm-ddThh:mm:ssZ" format.
    id str
    The provider-assigned unique ID for this managed resource.
    size float
    Backup size in KB.
    status str
    Backup status. The options are as follows:

    • BUILDING: Backup in progress.
    • COMPLETED: Backup completed.
    • FAILED: Backup failed.
    • DELETING: Backup being deleted.
    associatedWithDdm Boolean
    Whether a DDM instance has been associated.
    beginTime String
    Backup start time in the "yyyy-mm-ddThh:mm:ssZ" format.
    endTime String
    Backup end time in the "yyyy-mm-ddThh:mm:ssZ" format.
    id String
    The provider-assigned unique ID for this managed resource.
    size Number
    Backup size in KB.
    status String
    Backup status. The options are as follows:

    • BUILDING: Backup in progress.
    • COMPLETED: Backup completed.
    • FAILED: Backup failed.
    • DELETING: Backup being deleted.

    Look up Existing RdsBackup Resource

    Get an existing RdsBackup 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?: RdsBackupState, opts?: CustomResourceOptions): RdsBackup
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            associated_with_ddm: Optional[bool] = None,
            begin_time: Optional[str] = None,
            databases: Optional[Sequence[RdsBackupDatabaseArgs]] = None,
            description: Optional[str] = None,
            end_time: Optional[str] = None,
            instance_id: Optional[str] = None,
            name: Optional[str] = None,
            rds_backup_id: Optional[str] = None,
            region: Optional[str] = None,
            size: Optional[float] = None,
            status: Optional[str] = None,
            timeouts: Optional[RdsBackupTimeoutsArgs] = None) -> RdsBackup
    func GetRdsBackup(ctx *Context, name string, id IDInput, state *RdsBackupState, opts ...ResourceOption) (*RdsBackup, error)
    public static RdsBackup Get(string name, Input<string> id, RdsBackupState? state, CustomResourceOptions? opts = null)
    public static RdsBackup get(String name, Output<String> id, RdsBackupState state, CustomResourceOptions options)
    resources:  _:    type: flexibleengine:RdsBackup    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:
    AssociatedWithDdm bool
    Whether a DDM instance has been associated.
    BeginTime string
    Backup start time in the "yyyy-mm-ddThh:mm:ssZ" format.
    Databases List<RdsBackupDatabase>

    List of self-built Microsoft SQL Server databases that are partially backed up. (Only Microsoft SQL Server supports partial backups). The databases structure is documented below. Changing this parameter will create a new resource.

    The databases block supports:

    Description string
    The description about the backup.
    It contains a maximum of 256 characters and cannot contain the following special characters: > ! < " & ' =. Changing this parameter will create a new resource.
    EndTime string
    Backup end time in the "yyyy-mm-ddThh:mm:ssZ" format.
    InstanceId string
    Specifies the instance id. Changing this parameter will create a new resource.
    Name string
    Database to be backed up for Microsoft SQL Server. Changing this parameter will create a new resource.
    RdsBackupId string
    The resource ID.
    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
    Backup size in KB.
    Status string
    Backup status. The options are as follows:

    • BUILDING: Backup in progress.
    • COMPLETED: Backup completed.
    • FAILED: Backup failed.
    • DELETING: Backup being deleted.
    Timeouts RdsBackupTimeouts
    AssociatedWithDdm bool
    Whether a DDM instance has been associated.
    BeginTime string
    Backup start time in the "yyyy-mm-ddThh:mm:ssZ" format.
    Databases []RdsBackupDatabaseArgs

    List of self-built Microsoft SQL Server databases that are partially backed up. (Only Microsoft SQL Server supports partial backups). The databases structure is documented below. Changing this parameter will create a new resource.

    The databases block supports:

    Description string
    The description about the backup.
    It contains a maximum of 256 characters and cannot contain the following special characters: > ! < " & ' =. Changing this parameter will create a new resource.
    EndTime string
    Backup end time in the "yyyy-mm-ddThh:mm:ssZ" format.
    InstanceId string
    Specifies the instance id. Changing this parameter will create a new resource.
    Name string
    Database to be backed up for Microsoft SQL Server. Changing this parameter will create a new resource.
    RdsBackupId string
    The resource ID.
    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
    Backup size in KB.
    Status string
    Backup status. The options are as follows:

    • BUILDING: Backup in progress.
    • COMPLETED: Backup completed.
    • FAILED: Backup failed.
    • DELETING: Backup being deleted.
    Timeouts RdsBackupTimeoutsArgs
    associatedWithDdm Boolean
    Whether a DDM instance has been associated.
    beginTime String
    Backup start time in the "yyyy-mm-ddThh:mm:ssZ" format.
    databases List<RdsBackupDatabase>

    List of self-built Microsoft SQL Server databases that are partially backed up. (Only Microsoft SQL Server supports partial backups). The databases structure is documented below. Changing this parameter will create a new resource.

    The databases block supports:

    description String
    The description about the backup.
    It contains a maximum of 256 characters and cannot contain the following special characters: > ! < " & ' =. Changing this parameter will create a new resource.
    endTime String
    Backup end time in the "yyyy-mm-ddThh:mm:ssZ" format.
    instanceId String
    Specifies the instance id. Changing this parameter will create a new resource.
    name String
    Database to be backed up for Microsoft SQL Server. Changing this parameter will create a new resource.
    rdsBackupId String
    The resource ID.
    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
    Backup size in KB.
    status String
    Backup status. The options are as follows:

    • BUILDING: Backup in progress.
    • COMPLETED: Backup completed.
    • FAILED: Backup failed.
    • DELETING: Backup being deleted.
    timeouts RdsBackupTimeouts
    associatedWithDdm boolean
    Whether a DDM instance has been associated.
    beginTime string
    Backup start time in the "yyyy-mm-ddThh:mm:ssZ" format.
    databases RdsBackupDatabase[]

    List of self-built Microsoft SQL Server databases that are partially backed up. (Only Microsoft SQL Server supports partial backups). The databases structure is documented below. Changing this parameter will create a new resource.

    The databases block supports:

    description string
    The description about the backup.
    It contains a maximum of 256 characters and cannot contain the following special characters: > ! < " & ' =. Changing this parameter will create a new resource.
    endTime string
    Backup end time in the "yyyy-mm-ddThh:mm:ssZ" format.
    instanceId string
    Specifies the instance id. Changing this parameter will create a new resource.
    name string
    Database to be backed up for Microsoft SQL Server. Changing this parameter will create a new resource.
    rdsBackupId string
    The resource ID.
    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
    Backup size in KB.
    status string
    Backup status. The options are as follows:

    • BUILDING: Backup in progress.
    • COMPLETED: Backup completed.
    • FAILED: Backup failed.
    • DELETING: Backup being deleted.
    timeouts RdsBackupTimeouts
    associated_with_ddm bool
    Whether a DDM instance has been associated.
    begin_time str
    Backup start time in the "yyyy-mm-ddThh:mm:ssZ" format.
    databases Sequence[RdsBackupDatabaseArgs]

    List of self-built Microsoft SQL Server databases that are partially backed up. (Only Microsoft SQL Server supports partial backups). The databases structure is documented below. Changing this parameter will create a new resource.

    The databases block supports:

    description str
    The description about the backup.
    It contains a maximum of 256 characters and cannot contain the following special characters: > ! < " & ' =. Changing this parameter will create a new resource.
    end_time str
    Backup end time in the "yyyy-mm-ddThh:mm:ssZ" format.
    instance_id str
    Specifies the instance id. Changing this parameter will create a new resource.
    name str
    Database to be backed up for Microsoft SQL Server. Changing this parameter will create a new resource.
    rds_backup_id str
    The resource ID.
    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
    Backup size in KB.
    status str
    Backup status. The options are as follows:

    • BUILDING: Backup in progress.
    • COMPLETED: Backup completed.
    • FAILED: Backup failed.
    • DELETING: Backup being deleted.
    timeouts RdsBackupTimeoutsArgs
    associatedWithDdm Boolean
    Whether a DDM instance has been associated.
    beginTime String
    Backup start time in the "yyyy-mm-ddThh:mm:ssZ" format.
    databases List<Property Map>

    List of self-built Microsoft SQL Server databases that are partially backed up. (Only Microsoft SQL Server supports partial backups). The databases structure is documented below. Changing this parameter will create a new resource.

    The databases block supports:

    description String
    The description about the backup.
    It contains a maximum of 256 characters and cannot contain the following special characters: > ! < " & ' =. Changing this parameter will create a new resource.
    endTime String
    Backup end time in the "yyyy-mm-ddThh:mm:ssZ" format.
    instanceId String
    Specifies the instance id. Changing this parameter will create a new resource.
    name String
    Database to be backed up for Microsoft SQL Server. Changing this parameter will create a new resource.
    rdsBackupId String
    The resource ID.
    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
    Backup size in KB.
    status String
    Backup status. The options are as follows:

    • BUILDING: Backup in progress.
    • COMPLETED: Backup completed.
    • FAILED: Backup failed.
    • DELETING: Backup being deleted.
    timeouts Property Map

    Supporting Types

    RdsBackupDatabase, RdsBackupDatabaseArgs

    Name string
    Database to be backed up for Microsoft SQL Server. Changing this parameter will create a new resource.
    Name string
    Database to be backed up for Microsoft SQL Server. Changing this parameter will create a new resource.
    name String
    Database to be backed up for Microsoft SQL Server. Changing this parameter will create a new resource.
    name string
    Database to be backed up for Microsoft SQL Server. Changing this parameter will create a new resource.
    name str
    Database to be backed up for Microsoft SQL Server. Changing this parameter will create a new resource.
    name String
    Database to be backed up for Microsoft SQL Server. Changing this parameter will create a new resource.

    RdsBackupTimeouts, RdsBackupTimeoutsArgs

    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 rds manual backup can be imported using the instance ID and the backup ID separated by a slash, e.g.:

    $ pulumi import flexibleengine:index/rdsBackup:RdsBackup test 1ce123456a00f2591fabc00385ff1235/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