alicloud.hbr.getBackupJobs
Explore with Pulumi AI
This data source provides the Hbr Backup Jobs of the current Alibaba Cloud user.
NOTE: Available in v1.138.0+.
Example Usage
Basic Usage
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const default = alicloud.hbr.getEcsBackupPlans({
nameRegex: "plan-name",
});
const defaultGetBackupJobs = Promise.all([_default, _default]).then(([_default, _default1]) => alicloud.hbr.getBackupJobs({
sourceType: "ECS_FILE",
filters: [
{
key: "VaultId",
operator: "IN",
values: [_default.plans?.[0]?.vaultId],
},
{
key: "InstanceId",
operator: "IN",
values: [_default1.plans?.[0]?.instanceId],
},
{
key: "CompleteTime",
operator: "BETWEEN",
values: [
"2021-08-23T14:17:15CST",
"2021-08-24T14:17:15CST",
],
},
],
}));
const example = Promise.all([_default, _default]).then(([_default, _default1]) => alicloud.hbr.getBackupJobs({
sourceType: "ECS_FILE",
status: "COMPLETE",
filters: [
{
key: "VaultId",
operator: "IN",
values: [_default.plans?.[0]?.vaultId],
},
{
key: "InstanceId",
operator: "IN",
values: [_default1.plans?.[0]?.instanceId],
},
{
key: "CompleteTime",
operator: "LESS_THAN",
values: ["2021-10-20T20:20:20CST"],
},
],
}));
export const alicloudHbrBackupJobsDefault1 = defaultGetBackupJobs.then(defaultGetBackupJobs => defaultGetBackupJobs.jobs?.[0]?.id);
export const alicloudHbrBackupJobsExample1 = example.then(example => example.jobs?.[0]?.id);
import pulumi
import pulumi_alicloud as alicloud
default = alicloud.hbr.get_ecs_backup_plans(name_regex="plan-name")
default_get_backup_jobs = alicloud.hbr.get_backup_jobs(source_type="ECS_FILE",
filters=[
{
"key": "VaultId",
"operator": "IN",
"values": [default.plans[0].vault_id],
},
{
"key": "InstanceId",
"operator": "IN",
"values": [default.plans[0].instance_id],
},
{
"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=[
{
"key": "VaultId",
"operator": "IN",
"values": [default.plans[0].vault_id],
},
{
"key": "InstanceId",
"operator": "IN",
"values": [default.plans[0].instance_id],
},
{
"key": "CompleteTime",
"operator": "LESS_THAN",
"values": ["2021-10-20T20:20:20CST"],
},
])
pulumi.export("alicloudHbrBackupJobsDefault1", default_get_backup_jobs.jobs[0].id)
pulumi.export("alicloudHbrBackupJobsExample1", example.jobs[0].id)
package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/v3/go/alicloud/hbr"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_default, err := hbr.GetEcsBackupPlans(ctx, &hbr.GetEcsBackupPlansArgs{
NameRegex: pulumi.StringRef("plan-name"),
}, nil);
if err != nil {
return err
}
defaultGetBackupJobs, err := hbr.GetBackupJobs(ctx, &hbr.GetBackupJobsArgs{
SourceType: "ECS_FILE",
Filters: []hbr.GetBackupJobsFilter{
{
Key: pulumi.StringRef("VaultId"),
Operator: pulumi.StringRef("IN"),
Values: interface{}{
_default.Plans[0].VaultId,
},
},
{
Key: pulumi.StringRef("InstanceId"),
Operator: pulumi.StringRef("IN"),
Values: interface{}{
_default.Plans[0].InstanceId,
},
},
{
Key: pulumi.StringRef("CompleteTime"),
Operator: pulumi.StringRef("BETWEEN"),
Values: []string{
"2021-08-23T14:17:15CST",
"2021-08-24T14:17:15CST",
},
},
},
}, nil);
if err != nil {
return err
}
example, err := hbr.GetBackupJobs(ctx, &hbr.GetBackupJobsArgs{
SourceType: "ECS_FILE",
Status: pulumi.StringRef("COMPLETE"),
Filters: []hbr.GetBackupJobsFilter{
{
Key: pulumi.StringRef("VaultId"),
Operator: pulumi.StringRef("IN"),
Values: interface{}{
_default.Plans[0].VaultId,
},
},
{
Key: pulumi.StringRef("InstanceId"),
Operator: pulumi.StringRef("IN"),
Values: interface{}{
_default.Plans[0].InstanceId,
},
},
{
Key: pulumi.StringRef("CompleteTime"),
Operator: pulumi.StringRef("LESS_THAN"),
Values: []string{
"2021-10-20T20:20:20CST",
},
},
},
}, nil);
if err != nil {
return err
}
ctx.Export("alicloudHbrBackupJobsDefault1", defaultGetBackupJobs.Jobs[0].Id)
ctx.Export("alicloudHbrBackupJobsExample1", example.Jobs[0].Id)
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var @default = AliCloud.Hbr.GetEcsBackupPlans.Invoke(new()
{
NameRegex = "plan-name",
});
var defaultGetBackupJobs = AliCloud.Hbr.GetBackupJobs.Invoke(new()
{
SourceType = "ECS_FILE",
Filters = new[]
{
new AliCloud.Hbr.Inputs.GetBackupJobsFilterInputArgs
{
Key = "VaultId",
Operator = "IN",
Values = new[]
{
@default.Apply(getEcsBackupPlansResult => getEcsBackupPlansResult.Plans[0]?.VaultId),
},
},
new AliCloud.Hbr.Inputs.GetBackupJobsFilterInputArgs
{
Key = "InstanceId",
Operator = "IN",
Values = new[]
{
@default.Apply(getEcsBackupPlansResult => getEcsBackupPlansResult.Plans[0]?.InstanceId),
},
},
new AliCloud.Hbr.Inputs.GetBackupJobsFilterInputArgs
{
Key = "CompleteTime",
Operator = "BETWEEN",
Values = new[]
{
"2021-08-23T14:17:15CST",
"2021-08-24T14:17:15CST",
},
},
},
});
var example = AliCloud.Hbr.GetBackupJobs.Invoke(new()
{
SourceType = "ECS_FILE",
Status = "COMPLETE",
Filters = new[]
{
new AliCloud.Hbr.Inputs.GetBackupJobsFilterInputArgs
{
Key = "VaultId",
Operator = "IN",
Values = new[]
{
@default.Apply(getEcsBackupPlansResult => getEcsBackupPlansResult.Plans[0]?.VaultId),
},
},
new AliCloud.Hbr.Inputs.GetBackupJobsFilterInputArgs
{
Key = "InstanceId",
Operator = "IN",
Values = new[]
{
@default.Apply(getEcsBackupPlansResult => getEcsBackupPlansResult.Plans[0]?.InstanceId),
},
},
new AliCloud.Hbr.Inputs.GetBackupJobsFilterInputArgs
{
Key = "CompleteTime",
Operator = "LESS_THAN",
Values = new[]
{
"2021-10-20T20:20:20CST",
},
},
},
});
return new Dictionary<string, object?>
{
["alicloudHbrBackupJobsDefault1"] = defaultGetBackupJobs.Apply(getBackupJobsResult => getBackupJobsResult.Jobs[0]?.Id),
["alicloudHbrBackupJobsExample1"] = example.Apply(getBackupJobsResult => getBackupJobsResult.Jobs[0]?.Id),
};
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.alicloud.hbr.HbrFunctions;
import com.pulumi.alicloud.hbr.inputs.GetEcsBackupPlansArgs;
import com.pulumi.alicloud.hbr.inputs.GetBackupJobsArgs;
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 default = HbrFunctions.getEcsBackupPlans(GetEcsBackupPlansArgs.builder()
.nameRegex("plan-name")
.build());
final var defaultGetBackupJobs = HbrFunctions.getBackupJobs(GetBackupJobsArgs.builder()
.sourceType("ECS_FILE")
.filters(
GetBackupJobsFilterArgs.builder()
.key("VaultId")
.operator("IN")
.values(default_.plans()[0].vaultId())
.build(),
GetBackupJobsFilterArgs.builder()
.key("InstanceId")
.operator("IN")
.values(default_.plans()[0].instanceId())
.build(),
GetBackupJobsFilterArgs.builder()
.key("CompleteTime")
.operator("BETWEEN")
.values(
"2021-08-23T14:17:15CST",
"2021-08-24T14:17:15CST")
.build())
.build());
final var example = HbrFunctions.getBackupJobs(GetBackupJobsArgs.builder()
.sourceType("ECS_FILE")
.status("COMPLETE")
.filters(
GetBackupJobsFilterArgs.builder()
.key("VaultId")
.operator("IN")
.values(default_.plans()[0].vaultId())
.build(),
GetBackupJobsFilterArgs.builder()
.key("InstanceId")
.operator("IN")
.values(default_.plans()[0].instanceId())
.build(),
GetBackupJobsFilterArgs.builder()
.key("CompleteTime")
.operator("LESS_THAN")
.values("2021-10-20T20:20:20CST")
.build())
.build());
ctx.export("alicloudHbrBackupJobsDefault1", defaultGetBackupJobs.applyValue(getBackupJobsResult -> getBackupJobsResult.jobs()[0].id()));
ctx.export("alicloudHbrBackupJobsExample1", example.applyValue(getBackupJobsResult -> getBackupJobsResult.jobs()[0].id()));
}
}
variables:
default:
fn::invoke:
Function: alicloud:hbr:getEcsBackupPlans
Arguments:
nameRegex: plan-name
defaultGetBackupJobs:
fn::invoke:
Function: alicloud:hbr:getBackupJobs
Arguments:
sourceType: ECS_FILE
filters:
- key: VaultId
operator: IN
values:
- ${default.plans[0].vaultId}
- key: InstanceId
operator: IN
values:
- ${default.plans[0].instanceId}
- key: CompleteTime
operator: BETWEEN
values:
- 2021-08-23T14:17:15CST
- 2021-08-24T14:17:15CST
example:
fn::invoke:
Function: alicloud:hbr:getBackupJobs
Arguments:
sourceType: ECS_FILE
status: COMPLETE
filters:
- key: VaultId
operator: IN
values:
- ${default.plans[0].vaultId}
- key: InstanceId
operator: IN
values:
- ${default.plans[0].instanceId}
- key: CompleteTime
operator: LESS_THAN
values:
- 2021-10-20T20:20:20CST
outputs:
alicloudHbrBackupJobsDefault1: ${defaultGetBackupJobs.jobs[0].id}
alicloudHbrBackupJobsExample1: ${example.jobs[0].id}
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
,NAS
,OSS
,OTS
,UDM_ECS
,UDM_ECS_DISK
. - Filters
List<Pulumi.
Ali Cloud. Hbr. Inputs. Get Backup Jobs Filter> - Ids List<string>
- A list of Backup Job IDs.
- Output
File string - File name where to save data source results (after running
pulumi preview
). - Sort
Direction string - The sort direction, sort results by ascending or descending order based on the value jobs id. Valid values:
ASCEND
,DESCEND
. - Status string
- The status of backup job. Valid values:
COMPLETE
,PARTIAL_COMPLETE
,FAILED
,UNAVAILABLE
.
- Source
Type string - The type of data source. Valid values:
ECS_FILE
,NAS
,OSS
,OTS
,UDM_ECS
,UDM_ECS_DISK
. - Filters
[]Get
Backup Jobs Filter - Ids []string
- A list of Backup Job IDs.
- Output
File string - File name where to save data source results (after running
pulumi preview
). - Sort
Direction string - The sort direction, sort results by ascending or descending order based on the value jobs id. Valid values:
ASCEND
,DESCEND
. - Status string
- The status of backup job. Valid values:
COMPLETE
,PARTIAL_COMPLETE
,FAILED
,UNAVAILABLE
.
- source
Type String - The type of data source. Valid values:
ECS_FILE
,NAS
,OSS
,OTS
,UDM_ECS
,UDM_ECS_DISK
. - filters
List<Get
Backup Jobs Filter> - ids List<String>
- A list of Backup Job IDs.
- output
File String - File name where to save data source results (after running
pulumi preview
). - sort
Direction String - The sort direction, sort results by ascending or descending order based on the value jobs id. Valid values:
ASCEND
,DESCEND
. - status String
- The status of backup job. Valid values:
COMPLETE
,PARTIAL_COMPLETE
,FAILED
,UNAVAILABLE
.
- source
Type string - The type of data source. Valid values:
ECS_FILE
,NAS
,OSS
,OTS
,UDM_ECS
,UDM_ECS_DISK
. - filters
Get
Backup Jobs Filter[] - ids string[]
- A list of Backup Job IDs.
- output
File string - File name where to save data source results (after running
pulumi preview
). - sort
Direction string - The sort direction, sort results by ascending or descending order based on the value jobs id. Valid values:
ASCEND
,DESCEND
. - status string
- The status of backup job. Valid values:
COMPLETE
,PARTIAL_COMPLETE
,FAILED
,UNAVAILABLE
.
- source_
type str - The type of data source. Valid values:
ECS_FILE
,NAS
,OSS
,OTS
,UDM_ECS
,UDM_ECS_DISK
. - filters
Sequence[Get
Backup Jobs Filter] - ids Sequence[str]
- A list of Backup Job IDs.
- output_
file str - File name where to save data source results (after running
pulumi preview
). - sort_
direction str - The sort direction, sort results by ascending or descending order based on the value jobs id. Valid values:
ASCEND
,DESCEND
. - status str
- The status of backup job. Valid values:
COMPLETE
,PARTIAL_COMPLETE
,FAILED
,UNAVAILABLE
.
- source
Type String - The type of data source. Valid values:
ECS_FILE
,NAS
,OSS
,OTS
,UDM_ECS
,UDM_ECS_DISK
. - filters List<Property Map>
- ids List<String>
- A list of Backup Job IDs.
- output
File String - File name where to save data source results (after running
pulumi preview
). - sort
Direction String - The sort direction, sort results by ascending or descending order based on the value jobs id. Valid values:
ASCEND
,DESCEND
. - status String
- The status of backup job. Valid values:
COMPLETE
,PARTIAL_COMPLETE
,FAILED
,UNAVAILABLE
.
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<String>
- jobs
List<Get
Backup Jobs Job> - source
Type String - filters
List<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 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<String>
- jobs List<Property Map>
- source
Type String - filters List<Property Map>
- 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.
NOTE: Numeric types such as
CompleteTime
do not supportIN
operations for the time being.
- 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.
NOTE: Numeric types such as
CompleteTime
do not supportIN
operations for the time being.
- 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.
NOTE: Numeric types such as
CompleteTime
do not supportIN
operations for the time being.
- 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.
NOTE: Numeric types such as
CompleteTime
do not supportIN
operations for the time being.
- 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.
NOTE: Numeric types such as
CompleteTime
do not supportIN
operations for the time being.
- 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.
NOTE: Numeric types such as
CompleteTime
do not supportIN
operations for the time being.
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.
- Cross
Account stringRole Name - The role name created in the original account RAM backup by the cross account managed by the current account. It is valid only when
source_type
isECS_FILE
,NAS
,OSS
orOTS
. - Cross
Account stringType - The type of the cross account backup. It is valid only when
source_type
isECS_FILE
,NAS
,OSS
orOTS
. - Cross
Account intUser Id - The original account ID of the cross account backup managed by the current account. It is valid only when
source_type
isECS_FILE
,NAS
,OSS
orOTS
. - 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.
- Ots
Details List<Pulumi.Ali Cloud. Hbr. Inputs. Get Backup Jobs Job Ots Detail> - 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.
- Cross
Account stringRole Name - The role name created in the original account RAM backup by the cross account managed by the current account. It is valid only when
source_type
isECS_FILE
,NAS
,OSS
orOTS
. - Cross
Account stringType - The type of the cross account backup. It is valid only when
source_type
isECS_FILE
,NAS
,OSS
orOTS
. - Cross
Account intUser Id - The original account ID of the cross account backup managed by the current account. It is valid only when
source_type
isECS_FILE
,NAS
,OSS
orOTS
. - 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.
- Ots
Details []GetBackup Jobs Job Ots Detail - 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.
- cross
Account StringRole Name - The role name created in the original account RAM backup by the cross account managed by the current account. It is valid only when
source_type
isECS_FILE
,NAS
,OSS
orOTS
. - cross
Account StringType - The type of the cross account backup. It is valid only when
source_type
isECS_FILE
,NAS
,OSS
orOTS
. - cross
Account IntegerUser Id - The original account ID of the cross account backup managed by the current account. It is valid only when
source_type
isECS_FILE
,NAS
,OSS
orOTS
. - 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.
- ots
Details List<GetBackup Jobs Job Ots Detail> - 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.
- cross
Account stringRole Name - The role name created in the original account RAM backup by the cross account managed by the current account. It is valid only when
source_type
isECS_FILE
,NAS
,OSS
orOTS
. - cross
Account stringType - The type of the cross account backup. It is valid only when
source_type
isECS_FILE
,NAS
,OSS
orOTS
. - cross
Account numberUser Id - The original account ID of the cross account backup managed by the current account. It is valid only when
source_type
isECS_FILE
,NAS
,OSS
orOTS
. - 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.
- ots
Details GetBackup Jobs Job Ots Detail[] - 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.
- cross_
account_ strrole_ name - The role name created in the original account RAM backup by the cross account managed by the current account. It is valid only when
source_type
isECS_FILE
,NAS
,OSS
orOTS
. - cross_
account_ strtype - The type of the cross account backup. It is valid only when
source_type
isECS_FILE
,NAS
,OSS
orOTS
. - cross_
account_ intuser_ id - The original account ID of the cross account backup managed by the current account. It is valid only when
source_type
isECS_FILE
,NAS
,OSS
orOTS
. - 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.
- ots_
details Sequence[GetBackup Jobs Job Ots Detail] - 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.
- cross
Account StringRole Name - The role name created in the original account RAM backup by the cross account managed by the current account. It is valid only when
source_type
isECS_FILE
,NAS
,OSS
orOTS
. - cross
Account StringType - The type of the cross account backup. It is valid only when
source_type
isECS_FILE
,NAS
,OSS
orOTS
. - cross
Account NumberUser Id - The original account ID of the cross account backup managed by the current account. It is valid only when
source_type
isECS_FILE
,NAS
,OSS
orOTS
. - 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.
- ots
Details List<Property Map> - 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.
GetBackupJobsJobOtsDetail
- Table
Names List<string>
- Table
Names []string
- table
Names List<String>
- table
Names string[]
- table_
names Sequence[str]
- table
Names List<String>
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
alicloud
Terraform Provider.