Alibaba Cloud
getBackupJobs
This data source provides the Hbr Backup Jobs of the current Alibaba Cloud user.
NOTE: Available in v1.138.0+.
Example Usage
using Pulumi;
using AliCloud = Pulumi.AliCloud;
class MyStack : Stack
{
public MyStack()
{
var defaultEcsBackupPlans = Output.Create(AliCloud.Hbr.GetEcsBackupPlans.InvokeAsync(new AliCloud.Hbr.GetEcsBackupPlansArgs
{
NameRegex = "plan-name",
}));
var defaultBackupJobs = Output.Tuple(defaultEcsBackupPlans, defaultEcsBackupPlans).Apply(values =>
{
var defaultEcsBackupPlans = values.Item1;
var defaultEcsBackupPlans1 = values.Item2;
return Output.Create(AliCloud.Hbr.GetBackupJobs.InvokeAsync(new AliCloud.Hbr.GetBackupJobsArgs
{
SourceType = "ECS_FILE",
Filters =
{
new AliCloud.Hbr.Inputs.GetBackupJobsFilterArgs
{
Key = "VaultId",
Operator = "IN",
Values =
{
defaultEcsBackupPlans.Plans?[0]?.VaultId,
},
},
new AliCloud.Hbr.Inputs.GetBackupJobsFilterArgs
{
Key = "InstanceId",
Operator = "IN",
Values =
{
defaultEcsBackupPlans1.Plans?[0]?.InstanceId,
},
},
new AliCloud.Hbr.Inputs.GetBackupJobsFilterArgs
{
Key = "CompleteTime",
Operator = "BETWEEN",
Values =
{
"2021-08-23T14:17:15CST",
"2021-08-24T14:17:15CST",
},
},
},
}));
});
var example = Output.Tuple(defaultEcsBackupPlans, defaultEcsBackupPlans).Apply(values =>
{
var defaultEcsBackupPlans = values.Item1;
var defaultEcsBackupPlans1 = values.Item2;
return Output.Create(AliCloud.Hbr.GetBackupJobs.InvokeAsync(new AliCloud.Hbr.GetBackupJobsArgs
{
SourceType = "ECS_FILE",
Status = "COMPLETE",
Filters =
{
new AliCloud.Hbr.Inputs.GetBackupJobsFilterArgs
{
Key = "VaultId",
Operator = "IN",
Values =
{
defaultEcsBackupPlans.Plans?[0]?.VaultId,
},
},
new AliCloud.Hbr.Inputs.GetBackupJobsFilterArgs
{
Key = "InstanceId",
Operator = "IN",
Values =
{
defaultEcsBackupPlans1.Plans?[0]?.InstanceId,
},
},
new AliCloud.Hbr.Inputs.GetBackupJobsFilterArgs
{
Key = "CompleteTime",
Operator = "LESS_THAN",
Values =
{
"2021-10-20T20:20:20CST",
},
},
},
}));
});
this.AlicloudHbrBackupJobsDefault1 = defaultBackupJobs.Apply(defaultBackupJobs => defaultBackupJobs.Jobs?[0]?.Id);
this.AlicloudHbrBackupJobsExample1 = example.Apply(example => example.Jobs?[0]?.Id);
}
[Output("alicloudHbrBackupJobsDefault1")]
public Output<string> AlicloudHbrBackupJobsDefault1 { get; set; }
[Output("alicloudHbrBackupJobsExample1")]
public Output<string> AlicloudHbrBackupJobsExample1 { get; set; }
}
Coming soon!
Coming soon!
import pulumi
import pulumi_alicloud as alicloud
default_ecs_backup_plans = alicloud.hbr.get_ecs_backup_plans(name_regex="plan-name")
default_backup_jobs = alicloud.hbr.get_backup_jobs(source_type="ECS_FILE",
filters=[
alicloud.hbr.GetBackupJobsFilterArgs(
key="VaultId",
operator="IN",
values=[default_ecs_backup_plans.plans[0].vault_id],
),
alicloud.hbr.GetBackupJobsFilterArgs(
key="InstanceId",
operator="IN",
values=[default_ecs_backup_plans.plans[0].instance_id],
),
alicloud.hbr.GetBackupJobsFilterArgs(
key="CompleteTime",
operator="BETWEEN",
values=[
"2021-08-23T14:17:15CST",
"2021-08-24T14:17:15CST",
],
),
])
example = alicloud.hbr.get_backup_jobs(source_type="ECS_FILE",
status="COMPLETE",
filters=[
alicloud.hbr.GetBackupJobsFilterArgs(
key="VaultId",
operator="IN",
values=[default_ecs_backup_plans.plans[0].vault_id],
),
alicloud.hbr.GetBackupJobsFilterArgs(
key="InstanceId",
operator="IN",
values=[default_ecs_backup_plans.plans[0].instance_id],
),
alicloud.hbr.GetBackupJobsFilterArgs(
key="CompleteTime",
operator="LESS_THAN",
values=["2021-10-20T20:20:20CST"],
),
])
pulumi.export("alicloudHbrBackupJobsDefault1", default_backup_jobs.jobs[0].id)
pulumi.export("alicloudHbrBackupJobsExample1", example.jobs[0].id)
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const defaultEcsBackupPlans = alicloud.hbr.getEcsBackupPlans({
nameRegex: "plan-name",
});
const defaultBackupJobs = Promise.all([defaultEcsBackupPlans, defaultEcsBackupPlans]).then(([defaultEcsBackupPlans, defaultEcsBackupPlans1]) => alicloud.hbr.getBackupJobs({
sourceType: "ECS_FILE",
filters: [
{
key: "VaultId",
operator: "IN",
values: [defaultEcsBackupPlans.plans?[0]?.vaultId],
},
{
key: "InstanceId",
operator: "IN",
values: [defaultEcsBackupPlans1.plans?[0]?.instanceId],
},
{
key: "CompleteTime",
operator: "BETWEEN",
values: [
"2021-08-23T14:17:15CST",
"2021-08-24T14:17:15CST",
],
},
],
}));
const example = Promise.all([defaultEcsBackupPlans, defaultEcsBackupPlans]).then(([defaultEcsBackupPlans, defaultEcsBackupPlans1]) => alicloud.hbr.getBackupJobs({
sourceType: "ECS_FILE",
status: "COMPLETE",
filters: [
{
key: "VaultId",
operator: "IN",
values: [defaultEcsBackupPlans.plans?[0]?.vaultId],
},
{
key: "InstanceId",
operator: "IN",
values: [defaultEcsBackupPlans1.plans?[0]?.instanceId],
},
{
key: "CompleteTime",
operator: "LESS_THAN",
values: ["2021-10-20T20:20:20CST"],
},
],
}));
export const alicloudHbrBackupJobsDefault1 = defaultBackupJobs.then(defaultBackupJobs => defaultBackupJobs.jobs?[0]?.id);
export const alicloudHbrBackupJobsExample1 = example.then(example => example.jobs?[0]?.id);
Coming soon!
Using getBackupJobs
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getBackupJobs(args: GetBackupJobsArgs, opts?: InvokeOptions): Promise<GetBackupJobsResult>
function getBackupJobsOutput(args: GetBackupJobsOutputArgs, opts?: InvokeOptions): Output<GetBackupJobsResult>
def get_backup_jobs(filters: Optional[Sequence[GetBackupJobsFilter]] = None,
ids: Optional[Sequence[str]] = None,
output_file: Optional[str] = None,
sort_direction: Optional[str] = None,
source_type: Optional[str] = None,
status: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetBackupJobsResult
def get_backup_jobs_output(filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetBackupJobsFilterArgs]]]] = None,
ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
output_file: Optional[pulumi.Input[str]] = None,
sort_direction: Optional[pulumi.Input[str]] = None,
source_type: Optional[pulumi.Input[str]] = None,
status: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetBackupJobsResult]
func GetBackupJobs(ctx *Context, args *GetBackupJobsArgs, opts ...InvokeOption) (*GetBackupJobsResult, error)
func GetBackupJobsOutput(ctx *Context, args *GetBackupJobsOutputArgs, opts ...InvokeOption) GetBackupJobsResultOutput
> Note: This function is named GetBackupJobs
in the Go SDK.
public static class GetBackupJobs
{
public static Task<GetBackupJobsResult> InvokeAsync(GetBackupJobsArgs args, InvokeOptions? opts = null)
public static Output<GetBackupJobsResult> Invoke(GetBackupJobsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetBackupJobsResult> getBackupJobs(GetBackupJobsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
Fn::Invoke:
Function: alicloud:hbr/getBackupJobs:getBackupJobs
Arguments:
# Arguments dictionary
The following arguments are supported:
- Source
Type string The type of data source. Valid Values:
ECS_FILE
,OSS
,NAS
,UDM_DISK
.- Filters
List<Pulumi.
Ali Cloud. Hbr. Inputs. Get Backup Jobs Filter> - Ids List<string>
A list of Backup Job IDs.
- Output
File string - Sort
Direction string The sort direction. Valid values:
ASCEND
,DESCEND
.- Status string
The status of restore job. Valid values:
COMPLETE
,PARTIAL_COMPLETE
,FAILED
.
- Source
Type string The type of data source. Valid Values:
ECS_FILE
,OSS
,NAS
,UDM_DISK
.- Filters
[]Get
Backup Jobs Filter - Ids []string
A list of Backup Job IDs.
- Output
File string - Sort
Direction string The sort direction. Valid values:
ASCEND
,DESCEND
.- Status string
The status of restore job. Valid values:
COMPLETE
,PARTIAL_COMPLETE
,FAILED
.
- source
Type String The type of data source. Valid Values:
ECS_FILE
,OSS
,NAS
,UDM_DISK
.- filters
List
Backup Jobs Filter> - ids
List
A list of Backup Job IDs.
- output
File String - sort
Direction String The sort direction. Valid values:
ASCEND
,DESCEND
.- status String
The status of restore job. Valid values:
COMPLETE
,PARTIAL_COMPLETE
,FAILED
.
- source
Type string The type of data source. Valid Values:
ECS_FILE
,OSS
,NAS
,UDM_DISK
.- filters
Get
Backup Jobs Filter[] - ids string[]
A list of Backup Job IDs.
- output
File string - sort
Direction string The sort direction. Valid values:
ASCEND
,DESCEND
.- status string
The status of restore job. Valid values:
COMPLETE
,PARTIAL_COMPLETE
,FAILED
.
- source_
type str The type of data source. Valid Values:
ECS_FILE
,OSS
,NAS
,UDM_DISK
.- filters
Sequence[Get
Backup Jobs Filter] - ids Sequence[str]
A list of Backup Job IDs.
- output_
file str - sort_
direction str The sort direction. Valid values:
ASCEND
,DESCEND
.- status str
The status of restore job. Valid values:
COMPLETE
,PARTIAL_COMPLETE
,FAILED
.
- source
Type String The type of data source. Valid Values:
ECS_FILE
,OSS
,NAS
,UDM_DISK
.- filters
List
- ids
List
A list of Backup Job IDs.
- output
File String - sort
Direction String The sort direction. Valid values:
ASCEND
,DESCEND
.- status String
The status of restore job. Valid values:
COMPLETE
,PARTIAL_COMPLETE
,FAILED
.
getBackupJobs Result
The following output properties are available:
- Id string
The provider-assigned unique ID for this managed resource.
- Ids List<string>
- Jobs
List<Pulumi.
Ali Cloud. Hbr. Outputs. Get Backup Jobs Job> - Source
Type string - Filters
List<Pulumi.
Ali Cloud. Hbr. Outputs. Get Backup Jobs Filter> - Output
File string - Sort
Direction string - Status string
- Id string
The provider-assigned unique ID for this managed resource.
- Ids []string
- Jobs
[]Get
Backup Jobs Job - Source
Type string - Filters
[]Get
Backup Jobs Filter - Output
File string - Sort
Direction string - Status string
- id String
The provider-assigned unique ID for this managed resource.
- ids
List
- jobs
List
Backup Jobs Job> - source
Type String - filters
List
Backup Jobs Filter> - output
File String - sort
Direction String - status String
- id string
The provider-assigned unique ID for this managed resource.
- ids string[]
- jobs
Get
Backup Jobs Job[] - source
Type string - filters
Get
Backup Jobs Filter[] - output
File string - sort
Direction string - status string
- id str
The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- jobs
Sequence[Get
Backup Jobs Job] - source_
type str - filters
Sequence[Get
Backup Jobs Filter] - output_
file str - sort_
direction str - status str
- id String
The provider-assigned unique ID for this managed resource.
- ids
List
- jobs
List
- source
Type String - filters
List
- output
File String - sort
Direction String - status String
Supporting Types
GetBackupJobsFilter
- Key string
The key of the field to filter. Valid values:
PlanId
,VaultId
,InstanceId
,Bucket
,FileSystemId
,CompleteTime
.- Operator string
The operator of the field to filter. Valid values:
EQUAL
,NOT_EQUAL
,GREATER_THAN
,GREATER_THAN_OR_EQUAL
,LESS_THAN
,LESS_THAN_OR_EQUAL
,BETWEEN
,IN
.- Values List<string>
Set of values that are accepted for the given field.
- Key string
The key of the field to filter. Valid values:
PlanId
,VaultId
,InstanceId
,Bucket
,FileSystemId
,CompleteTime
.- Operator string
The operator of the field to filter. Valid values:
EQUAL
,NOT_EQUAL
,GREATER_THAN
,GREATER_THAN_OR_EQUAL
,LESS_THAN
,LESS_THAN_OR_EQUAL
,BETWEEN
,IN
.- Values []string
Set of values that are accepted for the given field.
- key String
The key of the field to filter. Valid values:
PlanId
,VaultId
,InstanceId
,Bucket
,FileSystemId
,CompleteTime
.- operator String
The operator of the field to filter. Valid values:
EQUAL
,NOT_EQUAL
,GREATER_THAN
,GREATER_THAN_OR_EQUAL
,LESS_THAN
,LESS_THAN_OR_EQUAL
,BETWEEN
,IN
.- values
List
Set of values that are accepted for the given field.
- key string
The key of the field to filter. Valid values:
PlanId
,VaultId
,InstanceId
,Bucket
,FileSystemId
,CompleteTime
.- operator string
The operator of the field to filter. Valid values:
EQUAL
,NOT_EQUAL
,GREATER_THAN
,GREATER_THAN_OR_EQUAL
,LESS_THAN
,LESS_THAN_OR_EQUAL
,BETWEEN
,IN
.- values string[]
Set of values that are accepted for the given field.
- key str
The key of the field to filter. Valid values:
PlanId
,VaultId
,InstanceId
,Bucket
,FileSystemId
,CompleteTime
.- operator str
The operator of the field to filter. Valid values:
EQUAL
,NOT_EQUAL
,GREATER_THAN
,GREATER_THAN_OR_EQUAL
,LESS_THAN
,LESS_THAN_OR_EQUAL
,BETWEEN
,IN
.- values Sequence[str]
Set of values that are accepted for the given field.
- key String
The key of the field to filter. Valid values:
PlanId
,VaultId
,InstanceId
,Bucket
,FileSystemId
,CompleteTime
.- operator String
The operator of the field to filter. Valid values:
EQUAL
,NOT_EQUAL
,GREATER_THAN
,GREATER_THAN_OR_EQUAL
,LESS_THAN
,LESS_THAN_OR_EQUAL
,BETWEEN
,IN
.- values
List
Set of values that are accepted for the given field.
GetBackupJobsJob
- Actual
Bytes string The actual data volume of the backup task (After deduplication) . Unit byte.
- Actual
Items string The actual number of items in the backup task. (Currently only file backup is available).
- Back
Job stringName The name of backup job.
- Backup
Job stringId The ID of the backup job.
- Backup
Type string Backup type. Valid values:
COMPLETE
(full backup).- Bucket string
The name of target OSS bucket.
- Bytes
Done string The amount of backup data (Incremental). Unit byte.
- Bytes
Total string The total amount of data sources. Unit byte.
- Complete
Time string The completion time of backup job. UNIX time seconds.
- Create
Time string The creation time of backup job. UNIX time seconds.
- Error
Message string Error message.
- Exclude string
Exclude path. String of Json list. Up to 255 characters. e.g.
"[\"/home/work\"]"
- File
System stringId The ID of destination file system.
- Id string
The ID of the backup job.
- Include string
Include path. String of Json list. Up to 255 characters. e.g.
"[\"/var\"]"
- Instance
Id string The ID of target ECS instance.
- Items
Done string The number of items restore job recovered.
- Items
Total string The total number of items restore job recovered.
- Nas
Create stringTime File system creation time. UNIX time in seconds.
- Paths List<string>
List of backup path. e.g.
["/home", "/var"]
.- Plan
Id string The ID of a backup plan.
- Prefix string
The prefix of Oss bucket files.
- Progress string
Backup progress. The value is 100%*100.
- Source
Type string The type of data source. Valid Values:
ECS_FILE
,OSS
,NAS
,UDM_DISK
.- Start
Time string The scheduled backup start time. UNIX time seconds.
- Status string
The status of restore job. Valid values:
COMPLETE
,PARTIAL_COMPLETE
,FAILED
.- Updated
Time string The update time of backup job. UNIX time seconds.
- Vault
Id string The ID of backup vault.
- Actual
Bytes string The actual data volume of the backup task (After deduplication) . Unit byte.
- Actual
Items string The actual number of items in the backup task. (Currently only file backup is available).
- Back
Job stringName The name of backup job.
- Backup
Job stringId The ID of the backup job.
- Backup
Type string Backup type. Valid values:
COMPLETE
(full backup).- Bucket string
The name of target OSS bucket.
- Bytes
Done string The amount of backup data (Incremental). Unit byte.
- Bytes
Total string The total amount of data sources. Unit byte.
- Complete
Time string The completion time of backup job. UNIX time seconds.
- Create
Time string The creation time of backup job. UNIX time seconds.
- Error
Message string Error message.
- Exclude string
Exclude path. String of Json list. Up to 255 characters. e.g.
"[\"/home/work\"]"
- File
System stringId The ID of destination file system.
- Id string
The ID of the backup job.
- Include string
Include path. String of Json list. Up to 255 characters. e.g.
"[\"/var\"]"
- Instance
Id string The ID of target ECS instance.
- Items
Done string The number of items restore job recovered.
- Items
Total string The total number of items restore job recovered.
- Nas
Create stringTime File system creation time. UNIX time in seconds.
- Paths []string
List of backup path. e.g.
["/home", "/var"]
.- Plan
Id string The ID of a backup plan.
- Prefix string
The prefix of Oss bucket files.
- Progress string
Backup progress. The value is 100%*100.
- Source
Type string The type of data source. Valid Values:
ECS_FILE
,OSS
,NAS
,UDM_DISK
.- Start
Time string The scheduled backup start time. UNIX time seconds.
- Status string
The status of restore job. Valid values:
COMPLETE
,PARTIAL_COMPLETE
,FAILED
.- Updated
Time string The update time of backup job. UNIX time seconds.
- Vault
Id string The ID of backup vault.
- actual
Bytes String The actual data volume of the backup task (After deduplication) . Unit byte.
- actual
Items String The actual number of items in the backup task. (Currently only file backup is available).
- back
Job StringName The name of backup job.
- backup
Job StringId The ID of the backup job.
- backup
Type String Backup type. Valid values:
COMPLETE
(full backup).- bucket String
The name of target OSS bucket.
- bytes
Done String The amount of backup data (Incremental). Unit byte.
- bytes
Total String The total amount of data sources. Unit byte.
- complete
Time String The completion time of backup job. UNIX time seconds.
- create
Time String The creation time of backup job. UNIX time seconds.
- error
Message String Error message.
- exclude String
Exclude path. String of Json list. Up to 255 characters. e.g.
"[\"/home/work\"]"
- file
System StringId The ID of destination file system.
- id String
The ID of the backup job.
- include String
Include path. String of Json list. Up to 255 characters. e.g.
"[\"/var\"]"
- instance
Id String The ID of target ECS instance.
- items
Done String The number of items restore job recovered.
- items
Total String The total number of items restore job recovered.
- nas
Create StringTime File system creation time. UNIX time in seconds.
- paths
List
List of backup path. e.g.
["/home", "/var"]
.- plan
Id String The ID of a backup plan.
- prefix String
The prefix of Oss bucket files.
- progress String
Backup progress. The value is 100%*100.
- source
Type String The type of data source. Valid Values:
ECS_FILE
,OSS
,NAS
,UDM_DISK
.- start
Time String The scheduled backup start time. UNIX time seconds.
- status String
The status of restore job. Valid values:
COMPLETE
,PARTIAL_COMPLETE
,FAILED
.- updated
Time String The update time of backup job. UNIX time seconds.
- vault
Id String The ID of backup vault.
- actual
Bytes string The actual data volume of the backup task (After deduplication) . Unit byte.
- actual
Items string The actual number of items in the backup task. (Currently only file backup is available).
- back
Job stringName The name of backup job.
- backup
Job stringId The ID of the backup job.
- backup
Type string Backup type. Valid values:
COMPLETE
(full backup).- bucket string
The name of target OSS bucket.
- bytes
Done string The amount of backup data (Incremental). Unit byte.
- bytes
Total string The total amount of data sources. Unit byte.
- complete
Time string The completion time of backup job. UNIX time seconds.
- create
Time string The creation time of backup job. UNIX time seconds.
- error
Message string Error message.
- exclude string
Exclude path. String of Json list. Up to 255 characters. e.g.
"[\"/home/work\"]"
- file
System stringId The ID of destination file system.
- id string
The ID of the backup job.
- include string
Include path. String of Json list. Up to 255 characters. e.g.
"[\"/var\"]"
- instance
Id string The ID of target ECS instance.
- items
Done string The number of items restore job recovered.
- items
Total string The total number of items restore job recovered.
- nas
Create stringTime File system creation time. UNIX time in seconds.
- paths string[]
List of backup path. e.g.
["/home", "/var"]
.- plan
Id string The ID of a backup plan.
- prefix string
The prefix of Oss bucket files.
- progress string
Backup progress. The value is 100%*100.
- source
Type string The type of data source. Valid Values:
ECS_FILE
,OSS
,NAS
,UDM_DISK
.- start
Time string The scheduled backup start time. UNIX time seconds.
- status string
The status of restore job. Valid values:
COMPLETE
,PARTIAL_COMPLETE
,FAILED
.- updated
Time string The update time of backup job. UNIX time seconds.
- vault
Id string The ID of backup vault.
- actual_
bytes str The actual data volume of the backup task (After deduplication) . Unit byte.
- actual_
items str The actual number of items in the backup task. (Currently only file backup is available).
- back_
job_ strname The name of backup job.
- backup_
job_ strid The ID of the backup job.
- backup_
type str Backup type. Valid values:
COMPLETE
(full backup).- bucket str
The name of target OSS bucket.
- bytes_
done str The amount of backup data (Incremental). Unit byte.
- bytes_
total str The total amount of data sources. Unit byte.
- complete_
time str The completion time of backup job. UNIX time seconds.
- create_
time str The creation time of backup job. UNIX time seconds.
- error_
message str Error message.
- exclude str
Exclude path. String of Json list. Up to 255 characters. e.g.
"[\"/home/work\"]"
- file_
system_ strid The ID of destination file system.
- id str
The ID of the backup job.
- include str
Include path. String of Json list. Up to 255 characters. e.g.
"[\"/var\"]"
- instance_
id str The ID of target ECS instance.
- items_
done str The number of items restore job recovered.
- items_
total str The total number of items restore job recovered.
- nas_
create_ strtime File system creation time. UNIX time in seconds.
- paths Sequence[str]
List of backup path. e.g.
["/home", "/var"]
.- plan_
id str The ID of a backup plan.
- prefix str
The prefix of Oss bucket files.
- progress str
Backup progress. The value is 100%*100.
- source_
type str The type of data source. Valid Values:
ECS_FILE
,OSS
,NAS
,UDM_DISK
.- start_
time str The scheduled backup start time. UNIX time seconds.
- status str
The status of restore job. Valid values:
COMPLETE
,PARTIAL_COMPLETE
,FAILED
.- updated_
time str The update time of backup job. UNIX time seconds.
- vault_
id str The ID of backup vault.
- actual
Bytes String The actual data volume of the backup task (After deduplication) . Unit byte.
- actual
Items String The actual number of items in the backup task. (Currently only file backup is available).
- back
Job StringName The name of backup job.
- backup
Job StringId The ID of the backup job.
- backup
Type String Backup type. Valid values:
COMPLETE
(full backup).- bucket String
The name of target OSS bucket.
- bytes
Done String The amount of backup data (Incremental). Unit byte.
- bytes
Total String The total amount of data sources. Unit byte.
- complete
Time String The completion time of backup job. UNIX time seconds.
- create
Time String The creation time of backup job. UNIX time seconds.
- error
Message String Error message.
- exclude String
Exclude path. String of Json list. Up to 255 characters. e.g.
"[\"/home/work\"]"
- file
System StringId The ID of destination file system.
- id String
The ID of the backup job.
- include String
Include path. String of Json list. Up to 255 characters. e.g.
"[\"/var\"]"
- instance
Id String The ID of target ECS instance.
- items
Done String The number of items restore job recovered.
- items
Total String The total number of items restore job recovered.
- nas
Create StringTime File system creation time. UNIX time in seconds.
- paths
List
List of backup path. e.g.
["/home", "/var"]
.- plan
Id String The ID of a backup plan.
- prefix String
The prefix of Oss bucket files.
- progress String
Backup progress. The value is 100%*100.
- source
Type String The type of data source. Valid Values:
ECS_FILE
,OSS
,NAS
,UDM_DISK
.- start
Time String The scheduled backup start time. UNIX time seconds.
- status String
The status of restore job. Valid values:
COMPLETE
,PARTIAL_COMPLETE
,FAILED
.- updated
Time String The update time of backup job. UNIX time seconds.
- vault
Id String The ID of backup vault.
Package Details
- Repository
- https://github.com/pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
alicloud
Terraform Provider.