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

flexibleengine.DcsBackupV1

Explore with Pulumi AI

Manages a DCS backup resource within FlexibleEngine.

Example Usage

import * as pulumi from "@pulumi/pulumi";
import * as flexibleengine from "@pulumi/flexibleengine";

const config = new pulumi.Config();
const dcsInstanceId = config.requireObject("dcsInstanceId");
const test = new flexibleengine.DcsBackupV1("test", {instanceId: dcsInstanceId});
Copy
import pulumi
import pulumi_flexibleengine as flexibleengine

config = pulumi.Config()
dcs_instance_id = config.require_object("dcsInstanceId")
test = flexibleengine.DcsBackupV1("test", instance_id=dcs_instance_id)
Copy
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, "")
		dcsInstanceId := cfg.RequireObject("dcsInstanceId")
		_, err := flexibleengine.NewDcsBackupV1(ctx, "test", &flexibleengine.DcsBackupV1Args{
			InstanceId: pulumi.Any(dcsInstanceId),
		})
		if err != nil {
			return err
		}
		return nil
	})
}
Copy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Flexibleengine = Pulumi.Flexibleengine;

return await Deployment.RunAsync(() => 
{
    var config = new Config();
    var dcsInstanceId = config.RequireObject<dynamic>("dcsInstanceId");
    var test = new Flexibleengine.DcsBackupV1("test", new()
    {
        InstanceId = dcsInstanceId,
    });

});
Copy
package generated_program;

import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.flexibleengine.DcsBackupV1;
import com.pulumi.flexibleengine.DcsBackupV1Args;
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 dcsInstanceId = config.get("dcsInstanceId");
        var test = new DcsBackupV1("test", DcsBackupV1Args.builder()
            .instanceId(dcsInstanceId)
            .build());

    }
}
Copy
configuration:
  dcsInstanceId:
    type: dynamic
resources:
  test:
    type: flexibleengine:DcsBackupV1
    properties:
      instanceId: ${dcsInstanceId}
Copy

Create DcsBackupV1 Resource

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

Constructor syntax

new DcsBackupV1(name: string, args: DcsBackupV1Args, opts?: CustomResourceOptions);
@overload
def DcsBackupV1(resource_name: str,
                args: DcsBackupV1Args,
                opts: Optional[ResourceOptions] = None)

@overload
def DcsBackupV1(resource_name: str,
                opts: Optional[ResourceOptions] = None,
                instance_id: Optional[str] = None,
                backup_format: Optional[str] = None,
                dcs_backup_v1_id: Optional[str] = None,
                description: Optional[str] = None,
                region: Optional[str] = None,
                timeouts: Optional[DcsBackupV1TimeoutsArgs] = None)
func NewDcsBackupV1(ctx *Context, name string, args DcsBackupV1Args, opts ...ResourceOption) (*DcsBackupV1, error)
public DcsBackupV1(string name, DcsBackupV1Args args, CustomResourceOptions? opts = null)
public DcsBackupV1(String name, DcsBackupV1Args args)
public DcsBackupV1(String name, DcsBackupV1Args args, CustomResourceOptions options)
type: flexibleengine:DcsBackupV1
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

Parameters

name This property is required. string
The unique name of the resource.
args This property is required. DcsBackupV1Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name This property is required. str
The unique name of the resource.
args This property is required. DcsBackupV1Args
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name This property is required. string
The unique name of the resource.
args This property is required. DcsBackupV1Args
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name This property is required. string
The unique name of the resource.
args This property is required. DcsBackupV1Args
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name This property is required. String
The unique name of the resource.
args This property is required. DcsBackupV1Args
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 dcsBackupV1Resource = new Flexibleengine.DcsBackupV1("dcsBackupV1Resource", new()
{
    InstanceId = "string",
    BackupFormat = "string",
    DcsBackupV1Id = "string",
    Description = "string",
    Region = "string",
    Timeouts = new Flexibleengine.Inputs.DcsBackupV1TimeoutsArgs
    {
        Create = "string",
        Delete = "string",
    },
});
Copy
example, err := flexibleengine.NewDcsBackupV1(ctx, "dcsBackupV1Resource", &flexibleengine.DcsBackupV1Args{
InstanceId: pulumi.String("string"),
BackupFormat: pulumi.String("string"),
DcsBackupV1Id: pulumi.String("string"),
Description: pulumi.String("string"),
Region: pulumi.String("string"),
Timeouts: &.DcsBackupV1TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
},
})
Copy
var dcsBackupV1Resource = new DcsBackupV1("dcsBackupV1Resource", DcsBackupV1Args.builder()
    .instanceId("string")
    .backupFormat("string")
    .dcsBackupV1Id("string")
    .description("string")
    .region("string")
    .timeouts(DcsBackupV1TimeoutsArgs.builder()
        .create("string")
        .delete("string")
        .build())
    .build());
Copy
dcs_backup_v1_resource = flexibleengine.DcsBackupV1("dcsBackupV1Resource",
    instance_id="string",
    backup_format="string",
    dcs_backup_v1_id="string",
    description="string",
    region="string",
    timeouts={
        "create": "string",
        "delete": "string",
    })
Copy
const dcsBackupV1Resource = new flexibleengine.DcsBackupV1("dcsBackupV1Resource", {
    instanceId: "string",
    backupFormat: "string",
    dcsBackupV1Id: "string",
    description: "string",
    region: "string",
    timeouts: {
        create: "string",
        "delete": "string",
    },
});
Copy
type: flexibleengine:DcsBackupV1
properties:
    backupFormat: string
    dcsBackupV1Id: string
    description: string
    instanceId: string
    region: string
    timeouts:
        create: string
        delete: string
Copy

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

InstanceId This property is required. string

Specifies the ID of the DCS instance.

Changing this parameter will create a new resource.

BackupFormat string

Specifies the format of the DCS instance backup. Value options: aof, rdb. Default to rdb.

Changing this parameter will create a new resource.

DcsBackupV1Id string
The resource ID.
Description string

Specifies the description of DCS instance backup.

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 DcsBackupV1Timeouts
InstanceId This property is required. string

Specifies the ID of the DCS instance.

Changing this parameter will create a new resource.

BackupFormat string

Specifies the format of the DCS instance backup. Value options: aof, rdb. Default to rdb.

Changing this parameter will create a new resource.

DcsBackupV1Id string
The resource ID.
Description string

Specifies the description of DCS instance backup.

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 DcsBackupV1TimeoutsArgs
instanceId This property is required. String

Specifies the ID of the DCS instance.

Changing this parameter will create a new resource.

backupFormat String

Specifies the format of the DCS instance backup. Value options: aof, rdb. Default to rdb.

Changing this parameter will create a new resource.

dcsBackupV1Id String
The resource ID.
description String

Specifies the description of DCS instance backup.

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 DcsBackupV1Timeouts
instanceId This property is required. string

Specifies the ID of the DCS instance.

Changing this parameter will create a new resource.

backupFormat string

Specifies the format of the DCS instance backup. Value options: aof, rdb. Default to rdb.

Changing this parameter will create a new resource.

dcsBackupV1Id string
The resource ID.
description string

Specifies the description of DCS instance backup.

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 DcsBackupV1Timeouts
instance_id This property is required. str

Specifies the ID of the DCS instance.

Changing this parameter will create a new resource.

backup_format str

Specifies the format of the DCS instance backup. Value options: aof, rdb. Default to rdb.

Changing this parameter will create a new resource.

dcs_backup_v1_id str
The resource ID.
description str

Specifies the description of DCS instance backup.

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 DcsBackupV1TimeoutsArgs
instanceId This property is required. String

Specifies the ID of the DCS instance.

Changing this parameter will create a new resource.

backupFormat String

Specifies the format of the DCS instance backup. Value options: aof, rdb. Default to rdb.

Changing this parameter will create a new resource.

dcsBackupV1Id String
The resource ID.
description String

Specifies the description of DCS instance backup.

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 DcsBackupV1 resource produces the following output properties:

BeginTime string
Indicates the time when the backup task is created. The format is yyyy-mm-dd hh:mm:ss. The value is in UTC format.
EndTime string
Indicates the time at which DCS instance backup is completed. 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.
IsSupportRestore string
Indicates whether restoration is supported. Value Options: TRUE, FALSE.
Name string
Indicates the backup name.
Size double
Indicates the size of the backup file (byte).
Status string
Indicates the backup status. Valid value:

  • waiting: The task is waiting to begin.
  • backuping: DCS instance backup is in progress.
  • succeed: DCS instance backup succeeded.
  • failed: DCS instance backup failed.
  • expired: The backup file has expired.
  • deleted: The backup file has been deleted manually.
Type string
Indicates the backup type. Valid value:

  • manual: indicates manual backup.
  • auto: indicates automatic backup.
BeginTime string
Indicates the time when the backup task is created. The format is yyyy-mm-dd hh:mm:ss. The value is in UTC format.
EndTime string
Indicates the time at which DCS instance backup is completed. 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.
IsSupportRestore string
Indicates whether restoration is supported. Value Options: TRUE, FALSE.
Name string
Indicates the backup name.
Size float64
Indicates the size of the backup file (byte).
Status string
Indicates the backup status. Valid value:

  • waiting: The task is waiting to begin.
  • backuping: DCS instance backup is in progress.
  • succeed: DCS instance backup succeeded.
  • failed: DCS instance backup failed.
  • expired: The backup file has expired.
  • deleted: The backup file has been deleted manually.
Type string
Indicates the backup type. Valid value:

  • manual: indicates manual backup.
  • auto: indicates automatic backup.
beginTime String
Indicates the time when the backup task is created. The format is yyyy-mm-dd hh:mm:ss. The value is in UTC format.
endTime String
Indicates the time at which DCS instance backup is completed. 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.
isSupportRestore String
Indicates whether restoration is supported. Value Options: TRUE, FALSE.
name String
Indicates the backup name.
size Double
Indicates the size of the backup file (byte).
status String
Indicates the backup status. Valid value:

  • waiting: The task is waiting to begin.
  • backuping: DCS instance backup is in progress.
  • succeed: DCS instance backup succeeded.
  • failed: DCS instance backup failed.
  • expired: The backup file has expired.
  • deleted: The backup file has been deleted manually.
type String
Indicates the backup type. Valid value:

  • manual: indicates manual backup.
  • auto: indicates automatic backup.
beginTime string
Indicates the time when the backup task is created. The format is yyyy-mm-dd hh:mm:ss. The value is in UTC format.
endTime string
Indicates the time at which DCS instance backup is completed. 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.
isSupportRestore string
Indicates whether restoration is supported. Value Options: TRUE, FALSE.
name string
Indicates the backup name.
size number
Indicates the size of the backup file (byte).
status string
Indicates the backup status. Valid value:

  • waiting: The task is waiting to begin.
  • backuping: DCS instance backup is in progress.
  • succeed: DCS instance backup succeeded.
  • failed: DCS instance backup failed.
  • expired: The backup file has expired.
  • deleted: The backup file has been deleted manually.
type string
Indicates the backup type. Valid value:

  • manual: indicates manual backup.
  • auto: indicates automatic backup.
begin_time str
Indicates the time when the backup task is created. The format is yyyy-mm-dd hh:mm:ss. The value is in UTC format.
end_time str
Indicates the time at which DCS instance backup is completed. 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.
is_support_restore str
Indicates whether restoration is supported. Value Options: TRUE, FALSE.
name str
Indicates the backup name.
size float
Indicates the size of the backup file (byte).
status str
Indicates the backup status. Valid value:

  • waiting: The task is waiting to begin.
  • backuping: DCS instance backup is in progress.
  • succeed: DCS instance backup succeeded.
  • failed: DCS instance backup failed.
  • expired: The backup file has expired.
  • deleted: The backup file has been deleted manually.
type str
Indicates the backup type. Valid value:

  • manual: indicates manual backup.
  • auto: indicates automatic backup.
beginTime String
Indicates the time when the backup task is created. The format is yyyy-mm-dd hh:mm:ss. The value is in UTC format.
endTime String
Indicates the time at which DCS instance backup is completed. 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.
isSupportRestore String
Indicates whether restoration is supported. Value Options: TRUE, FALSE.
name String
Indicates the backup name.
size Number
Indicates the size of the backup file (byte).
status String
Indicates the backup status. Valid value:

  • waiting: The task is waiting to begin.
  • backuping: DCS instance backup is in progress.
  • succeed: DCS instance backup succeeded.
  • failed: DCS instance backup failed.
  • expired: The backup file has expired.
  • deleted: The backup file has been deleted manually.
type String
Indicates the backup type. Valid value:

  • manual: indicates manual backup.
  • auto: indicates automatic backup.

Look up Existing DcsBackupV1 Resource

Get an existing DcsBackupV1 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?: DcsBackupV1State, opts?: CustomResourceOptions): DcsBackupV1
@staticmethod
def get(resource_name: str,
        id: str,
        opts: Optional[ResourceOptions] = None,
        backup_format: Optional[str] = None,
        begin_time: Optional[str] = None,
        dcs_backup_v1_id: Optional[str] = None,
        description: Optional[str] = None,
        end_time: Optional[str] = None,
        instance_id: Optional[str] = None,
        is_support_restore: Optional[str] = None,
        name: Optional[str] = None,
        region: Optional[str] = None,
        size: Optional[float] = None,
        status: Optional[str] = None,
        timeouts: Optional[DcsBackupV1TimeoutsArgs] = None,
        type: Optional[str] = None) -> DcsBackupV1
func GetDcsBackupV1(ctx *Context, name string, id IDInput, state *DcsBackupV1State, opts ...ResourceOption) (*DcsBackupV1, error)
public static DcsBackupV1 Get(string name, Input<string> id, DcsBackupV1State? state, CustomResourceOptions? opts = null)
public static DcsBackupV1 get(String name, Output<String> id, DcsBackupV1State state, CustomResourceOptions options)
resources:  _:    type: flexibleengine:DcsBackupV1    get:      id: ${id}
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
The unique provider ID of the resource to lookup.
name This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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 This property is required.
The unique name of the resulting resource.
id This property is required.
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:
BackupFormat string

Specifies the format of the DCS instance backup. Value options: aof, rdb. Default to rdb.

Changing this parameter will create a new resource.

BeginTime string
Indicates the time when the backup task is created. The format is yyyy-mm-dd hh:mm:ss. The value is in UTC format.
DcsBackupV1Id string
The resource ID.
Description string

Specifies the description of DCS instance backup.

Changing this parameter will create a new resource.

EndTime string
Indicates the time at which DCS instance backup is completed. The format is yyyy-mm-dd hh:mm:ss. The value is in UTC format.
InstanceId string

Specifies the ID of the DCS instance.

Changing this parameter will create a new resource.

IsSupportRestore string
Indicates whether restoration is supported. Value Options: TRUE, FALSE.
Name string
Indicates the backup name.
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 size of the backup file (byte).
Status string
Indicates the backup status. Valid value:

  • waiting: The task is waiting to begin.
  • backuping: DCS instance backup is in progress.
  • succeed: DCS instance backup succeeded.
  • failed: DCS instance backup failed.
  • expired: The backup file has expired.
  • deleted: The backup file has been deleted manually.
Timeouts DcsBackupV1Timeouts
Type string
Indicates the backup type. Valid value:

  • manual: indicates manual backup.
  • auto: indicates automatic backup.
BackupFormat string

Specifies the format of the DCS instance backup. Value options: aof, rdb. Default to rdb.

Changing this parameter will create a new resource.

BeginTime string
Indicates the time when the backup task is created. The format is yyyy-mm-dd hh:mm:ss. The value is in UTC format.
DcsBackupV1Id string
The resource ID.
Description string

Specifies the description of DCS instance backup.

Changing this parameter will create a new resource.

EndTime string
Indicates the time at which DCS instance backup is completed. The format is yyyy-mm-dd hh:mm:ss. The value is in UTC format.
InstanceId string

Specifies the ID of the DCS instance.

Changing this parameter will create a new resource.

IsSupportRestore string
Indicates whether restoration is supported. Value Options: TRUE, FALSE.
Name string
Indicates the backup name.
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 size of the backup file (byte).
Status string
Indicates the backup status. Valid value:

  • waiting: The task is waiting to begin.
  • backuping: DCS instance backup is in progress.
  • succeed: DCS instance backup succeeded.
  • failed: DCS instance backup failed.
  • expired: The backup file has expired.
  • deleted: The backup file has been deleted manually.
Timeouts DcsBackupV1TimeoutsArgs
Type string
Indicates the backup type. Valid value:

  • manual: indicates manual backup.
  • auto: indicates automatic backup.
backupFormat String

Specifies the format of the DCS instance backup. Value options: aof, rdb. Default to rdb.

Changing this parameter will create a new resource.

beginTime String
Indicates the time when the backup task is created. The format is yyyy-mm-dd hh:mm:ss. The value is in UTC format.
dcsBackupV1Id String
The resource ID.
description String

Specifies the description of DCS instance backup.

Changing this parameter will create a new resource.

endTime String
Indicates the time at which DCS instance backup is completed. The format is yyyy-mm-dd hh:mm:ss. The value is in UTC format.
instanceId String

Specifies the ID of the DCS instance.

Changing this parameter will create a new resource.

isSupportRestore String
Indicates whether restoration is supported. Value Options: TRUE, FALSE.
name String
Indicates the backup name.
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 size of the backup file (byte).
status String
Indicates the backup status. Valid value:

  • waiting: The task is waiting to begin.
  • backuping: DCS instance backup is in progress.
  • succeed: DCS instance backup succeeded.
  • failed: DCS instance backup failed.
  • expired: The backup file has expired.
  • deleted: The backup file has been deleted manually.
timeouts DcsBackupV1Timeouts
type String
Indicates the backup type. Valid value:

  • manual: indicates manual backup.
  • auto: indicates automatic backup.
backupFormat string

Specifies the format of the DCS instance backup. Value options: aof, rdb. Default to rdb.

Changing this parameter will create a new resource.

beginTime string
Indicates the time when the backup task is created. The format is yyyy-mm-dd hh:mm:ss. The value is in UTC format.
dcsBackupV1Id string
The resource ID.
description string

Specifies the description of DCS instance backup.

Changing this parameter will create a new resource.

endTime string
Indicates the time at which DCS instance backup is completed. The format is yyyy-mm-dd hh:mm:ss. The value is in UTC format.
instanceId string

Specifies the ID of the DCS instance.

Changing this parameter will create a new resource.

isSupportRestore string
Indicates whether restoration is supported. Value Options: TRUE, FALSE.
name string
Indicates the backup name.
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 size of the backup file (byte).
status string
Indicates the backup status. Valid value:

  • waiting: The task is waiting to begin.
  • backuping: DCS instance backup is in progress.
  • succeed: DCS instance backup succeeded.
  • failed: DCS instance backup failed.
  • expired: The backup file has expired.
  • deleted: The backup file has been deleted manually.
timeouts DcsBackupV1Timeouts
type string
Indicates the backup type. Valid value:

  • manual: indicates manual backup.
  • auto: indicates automatic backup.
backup_format str

Specifies the format of the DCS instance backup. Value options: aof, rdb. Default to rdb.

Changing this parameter will create a new resource.

begin_time str
Indicates the time when the backup task is created. The format is yyyy-mm-dd hh:mm:ss. The value is in UTC format.
dcs_backup_v1_id str
The resource ID.
description str

Specifies the description of DCS instance backup.

Changing this parameter will create a new resource.

end_time str
Indicates the time at which DCS instance backup is completed. The format is yyyy-mm-dd hh:mm:ss. The value is in UTC format.
instance_id str

Specifies the ID of the DCS instance.

Changing this parameter will create a new resource.

is_support_restore str
Indicates whether restoration is supported. Value Options: TRUE, FALSE.
name str
Indicates the backup name.
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 size of the backup file (byte).
status str
Indicates the backup status. Valid value:

  • waiting: The task is waiting to begin.
  • backuping: DCS instance backup is in progress.
  • succeed: DCS instance backup succeeded.
  • failed: DCS instance backup failed.
  • expired: The backup file has expired.
  • deleted: The backup file has been deleted manually.
timeouts DcsBackupV1TimeoutsArgs
type str
Indicates the backup type. Valid value:

  • manual: indicates manual backup.
  • auto: indicates automatic backup.
backupFormat String

Specifies the format of the DCS instance backup. Value options: aof, rdb. Default to rdb.

Changing this parameter will create a new resource.

beginTime String
Indicates the time when the backup task is created. The format is yyyy-mm-dd hh:mm:ss. The value is in UTC format.
dcsBackupV1Id String
The resource ID.
description String

Specifies the description of DCS instance backup.

Changing this parameter will create a new resource.

endTime String
Indicates the time at which DCS instance backup is completed. The format is yyyy-mm-dd hh:mm:ss. The value is in UTC format.
instanceId String

Specifies the ID of the DCS instance.

Changing this parameter will create a new resource.

isSupportRestore String
Indicates whether restoration is supported. Value Options: TRUE, FALSE.
name String
Indicates the backup name.
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 size of the backup file (byte).
status String
Indicates the backup status. Valid value:

  • waiting: The task is waiting to begin.
  • backuping: DCS instance backup is in progress.
  • succeed: DCS instance backup succeeded.
  • failed: DCS instance backup failed.
  • expired: The backup file has expired.
  • deleted: The backup file has been deleted manually.
timeouts Property Map
type String
Indicates the backup type. Valid value:

  • manual: indicates manual backup.
  • auto: indicates automatic backup.

Supporting Types

DcsBackupV1Timeouts
, DcsBackupV1TimeoutsArgs

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

bash

$ pulumi import flexibleengine:index/dcsBackupV1:DcsBackupV1 test <instance_id>/<backup_id>
Copy

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.