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});
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)
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
})
}
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,
});
});
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());
}
}
configuration:
dcsInstanceId:
type: dynamic
resources:
test:
type: flexibleengine:DcsBackupV1
properties:
instanceId: ${dcsInstanceId}
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 string
- The unique name of the resource.
- args DcsBackupV1Args
- 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 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 string
- The unique name of the resource.
- args DcsBackupV1Args
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args DcsBackupV1Args
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args 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",
},
});
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: &flexibleengine.DcsBackupV1TimeoutsArgs{
Create: pulumi.String("string"),
Delete: pulumi.String("string"),
},
})
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());
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",
})
const dcsBackupV1Resource = new flexibleengine.DcsBackupV1("dcsBackupV1Resource", {
instanceId: "string",
backupFormat: "string",
dcsBackupV1Id: "string",
description: "string",
region: "string",
timeouts: {
create: "string",
"delete": "string",
},
});
type: flexibleengine:DcsBackupV1
properties:
backupFormat: string
dcsBackupV1Id: string
description: string
instanceId: string
region: string
timeouts:
create: string
delete: string
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:
- Instance
Id string Specifies the ID of the DCS instance.
Changing this parameter will create a new resource.
- Backup
Format string 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 stringV1Id - 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
Dcs
Backup V1Timeouts
- Instance
Id string Specifies the ID of the DCS instance.
Changing this parameter will create a new resource.
- Backup
Format string 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 stringV1Id - 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
Dcs
Backup V1Timeouts Args
- instance
Id String Specifies the ID of the DCS instance.
Changing this parameter will create a new resource.
- backup
Format String 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 StringV1Id - 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
Dcs
Backup V1Timeouts
- instance
Id string Specifies the ID of the DCS instance.
Changing this parameter will create a new resource.
- backup
Format string 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 stringV1Id - 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
Dcs
Backup V1Timeouts
- instance_
id 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_ strv1_ id - 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
Dcs
Backup V1Timeouts Args
- instance
Id String Specifies the ID of the DCS instance.
Changing this parameter will create a new resource.
- backup
Format String 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 StringV1Id - 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:
- Begin
Time 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.
- End
Time 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.
- Is
Support stringRestore - 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.
- Begin
Time 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.
- End
Time 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.
- Is
Support stringRestore - 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.
- begin
Time 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.
- end
Time 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.
- is
Support StringRestore - 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.
- begin
Time 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.
- end
Time 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.
- is
Support stringRestore - 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_ strrestore - 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.
- begin
Time 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.
- end
Time 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.
- is
Support StringRestore - 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
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Backup
Format string 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 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.
- Dcs
Backup stringV1Id - The resource ID.
- Description string
Specifies the description of DCS instance backup.
Changing this parameter will create a new resource.
- End
Time 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.
- Instance
Id string Specifies the ID of the DCS instance.
Changing this parameter will create a new resource.
- Is
Support stringRestore - 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
Dcs
Backup V1Timeouts - Type string
- Indicates the backup type. Valid value:
- manual: indicates manual backup.
- auto: indicates automatic backup.
- Backup
Format string 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 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.
- Dcs
Backup stringV1Id - The resource ID.
- Description string
Specifies the description of DCS instance backup.
Changing this parameter will create a new resource.
- End
Time 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.
- Instance
Id string Specifies the ID of the DCS instance.
Changing this parameter will create a new resource.
- Is
Support stringRestore - 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
Dcs
Backup V1Timeouts Args - Type string
- Indicates the backup type. Valid value:
- manual: indicates manual backup.
- auto: indicates automatic backup.
- backup
Format String 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 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.
- dcs
Backup StringV1Id - The resource ID.
- description String
Specifies the description of DCS instance backup.
Changing this parameter will create a new resource.
- end
Time 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.
- instance
Id String Specifies the ID of the DCS instance.
Changing this parameter will create a new resource.
- is
Support StringRestore - 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
Dcs
Backup V1Timeouts - type String
- Indicates the backup type. Valid value:
- manual: indicates manual backup.
- auto: indicates automatic backup.
- backup
Format string 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 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.
- dcs
Backup stringV1Id - The resource ID.
- description string
Specifies the description of DCS instance backup.
Changing this parameter will create a new resource.
- end
Time 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.
- instance
Id string Specifies the ID of the DCS instance.
Changing this parameter will create a new resource.
- is
Support stringRestore - 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
Dcs
Backup V1Timeouts - 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_ strv1_ id - 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_ strrestore - 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
Dcs
Backup V1Timeouts Args - type str
- Indicates the backup type. Valid value:
- manual: indicates manual backup.
- auto: indicates automatic backup.
- backup
Format String 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 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.
- dcs
Backup StringV1Id - The resource ID.
- description String
Specifies the description of DCS instance backup.
Changing this parameter will create a new resource.
- end
Time 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.
- instance
Id String Specifies the ID of the DCS instance.
Changing this parameter will create a new resource.
- is
Support StringRestore - 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
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>
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.