1. Packages
  2. Alibaba Cloud Provider
  3. API Docs
  4. hbr
  5. getBackupJobs
Alibaba Cloud v3.75.0 published on Friday, Mar 7, 2025 by Pulumi

alicloud.hbr.getBackupJobs

Explore with Pulumi AI

Alibaba Cloud v3.75.0 published on Friday, Mar 7, 2025 by Pulumi

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);
Copy
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)
Copy
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
})
}
Copy
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),
    };
});
Copy
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()));
    }
}
Copy
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}
Copy

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>
Copy
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]
Copy
func GetBackupJobs(ctx *Context, args *GetBackupJobsArgs, opts ...InvokeOption) (*GetBackupJobsResult, error)
func GetBackupJobsOutput(ctx *Context, args *GetBackupJobsOutputArgs, opts ...InvokeOption) GetBackupJobsResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetBackupJobsResult> getBackupJobs(GetBackupJobsArgs args, InvokeOptions options)
public static Output<GetBackupJobsResult> getBackupJobs(GetBackupJobsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: alicloud:hbr/getBackupJobs:getBackupJobs
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

SourceType
This property is required.
Changes to this property will trigger replacement.
string
The type of data source. Valid values: ECS_FILE, NAS, OSS, OTS, UDM_ECS, UDM_ECS_DISK.
Filters Changes to this property will trigger replacement. List<Pulumi.AliCloud.Hbr.Inputs.GetBackupJobsFilter>
Ids Changes to this property will trigger replacement. List<string>
A list of Backup Job IDs.
OutputFile string
File name where to save data source results (after running pulumi preview).
SortDirection Changes to this property will trigger replacement. string
The sort direction, sort results by ascending or descending order based on the value jobs id. Valid values: ASCEND, DESCEND.
Status Changes to this property will trigger replacement. string
The status of backup job. Valid values: COMPLETE, PARTIAL_COMPLETE, FAILED, UNAVAILABLE.
SourceType
This property is required.
Changes to this property will trigger replacement.
string
The type of data source. Valid values: ECS_FILE, NAS, OSS, OTS, UDM_ECS, UDM_ECS_DISK.
Filters Changes to this property will trigger replacement. []GetBackupJobsFilter
Ids Changes to this property will trigger replacement. []string
A list of Backup Job IDs.
OutputFile string
File name where to save data source results (after running pulumi preview).
SortDirection Changes to this property will trigger replacement. string
The sort direction, sort results by ascending or descending order based on the value jobs id. Valid values: ASCEND, DESCEND.
Status Changes to this property will trigger replacement. string
The status of backup job. Valid values: COMPLETE, PARTIAL_COMPLETE, FAILED, UNAVAILABLE.
sourceType
This property is required.
Changes to this property will trigger replacement.
String
The type of data source. Valid values: ECS_FILE, NAS, OSS, OTS, UDM_ECS, UDM_ECS_DISK.
filters Changes to this property will trigger replacement. List<GetBackupJobsFilter>
ids Changes to this property will trigger replacement. List<String>
A list of Backup Job IDs.
outputFile String
File name where to save data source results (after running pulumi preview).
sortDirection Changes to this property will trigger replacement. String
The sort direction, sort results by ascending or descending order based on the value jobs id. Valid values: ASCEND, DESCEND.
status Changes to this property will trigger replacement. String
The status of backup job. Valid values: COMPLETE, PARTIAL_COMPLETE, FAILED, UNAVAILABLE.
sourceType
This property is required.
Changes to this property will trigger replacement.
string
The type of data source. Valid values: ECS_FILE, NAS, OSS, OTS, UDM_ECS, UDM_ECS_DISK.
filters Changes to this property will trigger replacement. GetBackupJobsFilter[]
ids Changes to this property will trigger replacement. string[]
A list of Backup Job IDs.
outputFile string
File name where to save data source results (after running pulumi preview).
sortDirection Changes to this property will trigger replacement. string
The sort direction, sort results by ascending or descending order based on the value jobs id. Valid values: ASCEND, DESCEND.
status Changes to this property will trigger replacement. string
The status of backup job. Valid values: COMPLETE, PARTIAL_COMPLETE, FAILED, UNAVAILABLE.
source_type
This property is required.
Changes to this property will trigger replacement.
str
The type of data source. Valid values: ECS_FILE, NAS, OSS, OTS, UDM_ECS, UDM_ECS_DISK.
filters Changes to this property will trigger replacement. Sequence[GetBackupJobsFilter]
ids Changes to this property will trigger replacement. 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 Changes to this property will trigger replacement. str
The sort direction, sort results by ascending or descending order based on the value jobs id. Valid values: ASCEND, DESCEND.
status Changes to this property will trigger replacement. str
The status of backup job. Valid values: COMPLETE, PARTIAL_COMPLETE, FAILED, UNAVAILABLE.
sourceType
This property is required.
Changes to this property will trigger replacement.
String
The type of data source. Valid values: ECS_FILE, NAS, OSS, OTS, UDM_ECS, UDM_ECS_DISK.
filters Changes to this property will trigger replacement. List<Property Map>
ids Changes to this property will trigger replacement. List<String>
A list of Backup Job IDs.
outputFile String
File name where to save data source results (after running pulumi preview).
sortDirection Changes to this property will trigger replacement. String
The sort direction, sort results by ascending or descending order based on the value jobs id. Valid values: ASCEND, DESCEND.
status Changes to this property will trigger replacement. 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.AliCloud.Hbr.Outputs.GetBackupJobsJob>
SourceType string
Filters List<Pulumi.AliCloud.Hbr.Outputs.GetBackupJobsFilter>
OutputFile string
SortDirection string
Status string
Id string
The provider-assigned unique ID for this managed resource.
Ids []string
Jobs []GetBackupJobsJob
SourceType string
Filters []GetBackupJobsFilter
OutputFile string
SortDirection string
Status string
id String
The provider-assigned unique ID for this managed resource.
ids List<String>
jobs List<GetBackupJobsJob>
sourceType String
filters List<GetBackupJobsFilter>
outputFile String
sortDirection String
status String
id string
The provider-assigned unique ID for this managed resource.
ids string[]
jobs GetBackupJobsJob[]
sourceType string
filters GetBackupJobsFilter[]
outputFile string
sortDirection string
status string
id str
The provider-assigned unique ID for this managed resource.
ids Sequence[str]
jobs Sequence[GetBackupJobsJob]
source_type str
filters Sequence[GetBackupJobsFilter]
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>
sourceType String
filters List<Property Map>
outputFile String
sortDirection 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 support IN 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 support IN 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 support IN 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 support IN 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 support IN 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 support IN operations for the time being.

GetBackupJobsJob

ActualBytes This property is required. string
The actual data volume of the backup task (After deduplication) . Unit byte.
ActualItems This property is required. string
The actual number of items in the backup task. (Currently only file backup is available).
BackJobName This property is required. string
The name of backup job.
BackupJobId This property is required. string
The ID of the backup job.
BackupType This property is required. string
Backup type. Valid values: COMPLETE(full backup).
Bucket This property is required. string
The name of target OSS bucket.
BytesDone This property is required. string
The amount of backup data (Incremental). Unit byte.
BytesTotal This property is required. string
The total amount of data sources. Unit byte.
CompleteTime This property is required. string
The completion time of backup job. UNIX time seconds.
CreateTime This property is required. string
The creation time of backup job. UNIX time seconds.
CrossAccountRoleName This property is required. string
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 is ECS_FILE, NAS, OSS or OTS.
CrossAccountType This property is required. string
The type of the cross account backup. It is valid only when source_type is ECS_FILE, NAS, OSS or OTS.
CrossAccountUserId This property is required. int
The original account ID of the cross account backup managed by the current account. It is valid only when source_type is ECS_FILE, NAS, OSS or OTS.
ErrorMessage This property is required. string
Error message.
Exclude This property is required. string
Exclude path. String of Json list. Up to 255 characters. e.g. "[\"/home/work\"]"
FileSystemId This property is required. string
The ID of destination file system.
Id This property is required. string
The ID of the backup job.
Include This property is required. string
Include path. String of Json list. Up to 255 characters. e.g. "[\"/var\"]"
InstanceId This property is required. string
The ID of target ECS instance.
ItemsDone This property is required. string
The number of items restore job recovered.
ItemsTotal This property is required. string
The total number of items restore job recovered.
NasCreateTime This property is required. string
File system creation time. UNIX time in seconds.
OtsDetails This property is required. List<Pulumi.AliCloud.Hbr.Inputs.GetBackupJobsJobOtsDetail>
Paths This property is required. List<string>
List of backup path. e.g. ["/home", "/var"].
PlanId This property is required. string
The ID of a backup plan.
Prefix This property is required. string
The prefix of Oss bucket files.
Progress This property is required. string
Backup progress. The value is 100%*100.
SourceType This property is required. string
The type of data source. Valid Values: ECS_FILE, OSS, NAS, UDM_DISK.
StartTime This property is required. string
The scheduled backup start time. UNIX time seconds.
Status This property is required. string
The status of restore job. Valid values: COMPLETE , PARTIAL_COMPLETE, FAILED.
UpdatedTime This property is required. string
The update time of backup job. UNIX time seconds.
VaultId This property is required. string
The ID of backup vault.
ActualBytes This property is required. string
The actual data volume of the backup task (After deduplication) . Unit byte.
ActualItems This property is required. string
The actual number of items in the backup task. (Currently only file backup is available).
BackJobName This property is required. string
The name of backup job.
BackupJobId This property is required. string
The ID of the backup job.
BackupType This property is required. string
Backup type. Valid values: COMPLETE(full backup).
Bucket This property is required. string
The name of target OSS bucket.
BytesDone This property is required. string
The amount of backup data (Incremental). Unit byte.
BytesTotal This property is required. string
The total amount of data sources. Unit byte.
CompleteTime This property is required. string
The completion time of backup job. UNIX time seconds.
CreateTime This property is required. string
The creation time of backup job. UNIX time seconds.
CrossAccountRoleName This property is required. string
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 is ECS_FILE, NAS, OSS or OTS.
CrossAccountType This property is required. string
The type of the cross account backup. It is valid only when source_type is ECS_FILE, NAS, OSS or OTS.
CrossAccountUserId This property is required. int
The original account ID of the cross account backup managed by the current account. It is valid only when source_type is ECS_FILE, NAS, OSS or OTS.
ErrorMessage This property is required. string
Error message.
Exclude This property is required. string
Exclude path. String of Json list. Up to 255 characters. e.g. "[\"/home/work\"]"
FileSystemId This property is required. string
The ID of destination file system.
Id This property is required. string
The ID of the backup job.
Include This property is required. string
Include path. String of Json list. Up to 255 characters. e.g. "[\"/var\"]"
InstanceId This property is required. string
The ID of target ECS instance.
ItemsDone This property is required. string
The number of items restore job recovered.
ItemsTotal This property is required. string
The total number of items restore job recovered.
NasCreateTime This property is required. string
File system creation time. UNIX time in seconds.
OtsDetails This property is required. []GetBackupJobsJobOtsDetail
Paths This property is required. []string
List of backup path. e.g. ["/home", "/var"].
PlanId This property is required. string
The ID of a backup plan.
Prefix This property is required. string
The prefix of Oss bucket files.
Progress This property is required. string
Backup progress. The value is 100%*100.
SourceType This property is required. string
The type of data source. Valid Values: ECS_FILE, OSS, NAS, UDM_DISK.
StartTime This property is required. string
The scheduled backup start time. UNIX time seconds.
Status This property is required. string
The status of restore job. Valid values: COMPLETE , PARTIAL_COMPLETE, FAILED.
UpdatedTime This property is required. string
The update time of backup job. UNIX time seconds.
VaultId This property is required. string
The ID of backup vault.
actualBytes This property is required. String
The actual data volume of the backup task (After deduplication) . Unit byte.
actualItems This property is required. String
The actual number of items in the backup task. (Currently only file backup is available).
backJobName This property is required. String
The name of backup job.
backupJobId This property is required. String
The ID of the backup job.
backupType This property is required. String
Backup type. Valid values: COMPLETE(full backup).
bucket This property is required. String
The name of target OSS bucket.
bytesDone This property is required. String
The amount of backup data (Incremental). Unit byte.
bytesTotal This property is required. String
The total amount of data sources. Unit byte.
completeTime This property is required. String
The completion time of backup job. UNIX time seconds.
createTime This property is required. String
The creation time of backup job. UNIX time seconds.
crossAccountRoleName This property is required. String
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 is ECS_FILE, NAS, OSS or OTS.
crossAccountType This property is required. String
The type of the cross account backup. It is valid only when source_type is ECS_FILE, NAS, OSS or OTS.
crossAccountUserId This property is required. Integer
The original account ID of the cross account backup managed by the current account. It is valid only when source_type is ECS_FILE, NAS, OSS or OTS.
errorMessage This property is required. String
Error message.
exclude This property is required. String
Exclude path. String of Json list. Up to 255 characters. e.g. "[\"/home/work\"]"
fileSystemId This property is required. String
The ID of destination file system.
id This property is required. String
The ID of the backup job.
include This property is required. String
Include path. String of Json list. Up to 255 characters. e.g. "[\"/var\"]"
instanceId This property is required. String
The ID of target ECS instance.
itemsDone This property is required. String
The number of items restore job recovered.
itemsTotal This property is required. String
The total number of items restore job recovered.
nasCreateTime This property is required. String
File system creation time. UNIX time in seconds.
otsDetails This property is required. List<GetBackupJobsJobOtsDetail>
paths This property is required. List<String>
List of backup path. e.g. ["/home", "/var"].
planId This property is required. String
The ID of a backup plan.
prefix This property is required. String
The prefix of Oss bucket files.
progress This property is required. String
Backup progress. The value is 100%*100.
sourceType This property is required. String
The type of data source. Valid Values: ECS_FILE, OSS, NAS, UDM_DISK.
startTime This property is required. String
The scheduled backup start time. UNIX time seconds.
status This property is required. String
The status of restore job. Valid values: COMPLETE , PARTIAL_COMPLETE, FAILED.
updatedTime This property is required. String
The update time of backup job. UNIX time seconds.
vaultId This property is required. String
The ID of backup vault.
actualBytes This property is required. string
The actual data volume of the backup task (After deduplication) . Unit byte.
actualItems This property is required. string
The actual number of items in the backup task. (Currently only file backup is available).
backJobName This property is required. string
The name of backup job.
backupJobId This property is required. string
The ID of the backup job.
backupType This property is required. string
Backup type. Valid values: COMPLETE(full backup).
bucket This property is required. string
The name of target OSS bucket.
bytesDone This property is required. string
The amount of backup data (Incremental). Unit byte.
bytesTotal This property is required. string
The total amount of data sources. Unit byte.
completeTime This property is required. string
The completion time of backup job. UNIX time seconds.
createTime This property is required. string
The creation time of backup job. UNIX time seconds.
crossAccountRoleName This property is required. string
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 is ECS_FILE, NAS, OSS or OTS.
crossAccountType This property is required. string
The type of the cross account backup. It is valid only when source_type is ECS_FILE, NAS, OSS or OTS.
crossAccountUserId This property is required. number
The original account ID of the cross account backup managed by the current account. It is valid only when source_type is ECS_FILE, NAS, OSS or OTS.
errorMessage This property is required. string
Error message.
exclude This property is required. string
Exclude path. String of Json list. Up to 255 characters. e.g. "[\"/home/work\"]"
fileSystemId This property is required. string
The ID of destination file system.
id This property is required. string
The ID of the backup job.
include This property is required. string
Include path. String of Json list. Up to 255 characters. e.g. "[\"/var\"]"
instanceId This property is required. string
The ID of target ECS instance.
itemsDone This property is required. string
The number of items restore job recovered.
itemsTotal This property is required. string
The total number of items restore job recovered.
nasCreateTime This property is required. string
File system creation time. UNIX time in seconds.
otsDetails This property is required. GetBackupJobsJobOtsDetail[]
paths This property is required. string[]
List of backup path. e.g. ["/home", "/var"].
planId This property is required. string
The ID of a backup plan.
prefix This property is required. string
The prefix of Oss bucket files.
progress This property is required. string
Backup progress. The value is 100%*100.
sourceType This property is required. string
The type of data source. Valid Values: ECS_FILE, OSS, NAS, UDM_DISK.
startTime This property is required. string
The scheduled backup start time. UNIX time seconds.
status This property is required. string
The status of restore job. Valid values: COMPLETE , PARTIAL_COMPLETE, FAILED.
updatedTime This property is required. string
The update time of backup job. UNIX time seconds.
vaultId This property is required. string
The ID of backup vault.
actual_bytes This property is required. str
The actual data volume of the backup task (After deduplication) . Unit byte.
actual_items This property is required. str
The actual number of items in the backup task. (Currently only file backup is available).
back_job_name This property is required. str
The name of backup job.
backup_job_id This property is required. str
The ID of the backup job.
backup_type This property is required. str
Backup type. Valid values: COMPLETE(full backup).
bucket This property is required. str
The name of target OSS bucket.
bytes_done This property is required. str
The amount of backup data (Incremental). Unit byte.
bytes_total This property is required. str
The total amount of data sources. Unit byte.
complete_time This property is required. str
The completion time of backup job. UNIX time seconds.
create_time This property is required. str
The creation time of backup job. UNIX time seconds.
cross_account_role_name This property is required. str
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 is ECS_FILE, NAS, OSS or OTS.
cross_account_type This property is required. str
The type of the cross account backup. It is valid only when source_type is ECS_FILE, NAS, OSS or OTS.
cross_account_user_id This property is required. int
The original account ID of the cross account backup managed by the current account. It is valid only when source_type is ECS_FILE, NAS, OSS or OTS.
error_message This property is required. str
Error message.
exclude This property is required. str
Exclude path. String of Json list. Up to 255 characters. e.g. "[\"/home/work\"]"
file_system_id This property is required. str
The ID of destination file system.
id This property is required. str
The ID of the backup job.
include This property is required. str
Include path. String of Json list. Up to 255 characters. e.g. "[\"/var\"]"
instance_id This property is required. str
The ID of target ECS instance.
items_done This property is required. str
The number of items restore job recovered.
items_total This property is required. str
The total number of items restore job recovered.
nas_create_time This property is required. str
File system creation time. UNIX time in seconds.
ots_details This property is required. Sequence[GetBackupJobsJobOtsDetail]
paths This property is required. Sequence[str]
List of backup path. e.g. ["/home", "/var"].
plan_id This property is required. str
The ID of a backup plan.
prefix This property is required. str
The prefix of Oss bucket files.
progress This property is required. str
Backup progress. The value is 100%*100.
source_type This property is required. str
The type of data source. Valid Values: ECS_FILE, OSS, NAS, UDM_DISK.
start_time This property is required. str
The scheduled backup start time. UNIX time seconds.
status This property is required. str
The status of restore job. Valid values: COMPLETE , PARTIAL_COMPLETE, FAILED.
updated_time This property is required. str
The update time of backup job. UNIX time seconds.
vault_id This property is required. str
The ID of backup vault.
actualBytes This property is required. String
The actual data volume of the backup task (After deduplication) . Unit byte.
actualItems This property is required. String
The actual number of items in the backup task. (Currently only file backup is available).
backJobName This property is required. String
The name of backup job.
backupJobId This property is required. String
The ID of the backup job.
backupType This property is required. String
Backup type. Valid values: COMPLETE(full backup).
bucket This property is required. String
The name of target OSS bucket.
bytesDone This property is required. String
The amount of backup data (Incremental). Unit byte.
bytesTotal This property is required. String
The total amount of data sources. Unit byte.
completeTime This property is required. String
The completion time of backup job. UNIX time seconds.
createTime This property is required. String
The creation time of backup job. UNIX time seconds.
crossAccountRoleName This property is required. String
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 is ECS_FILE, NAS, OSS or OTS.
crossAccountType This property is required. String
The type of the cross account backup. It is valid only when source_type is ECS_FILE, NAS, OSS or OTS.
crossAccountUserId This property is required. Number
The original account ID of the cross account backup managed by the current account. It is valid only when source_type is ECS_FILE, NAS, OSS or OTS.
errorMessage This property is required. String
Error message.
exclude This property is required. String
Exclude path. String of Json list. Up to 255 characters. e.g. "[\"/home/work\"]"
fileSystemId This property is required. String
The ID of destination file system.
id This property is required. String
The ID of the backup job.
include This property is required. String
Include path. String of Json list. Up to 255 characters. e.g. "[\"/var\"]"
instanceId This property is required. String
The ID of target ECS instance.
itemsDone This property is required. String
The number of items restore job recovered.
itemsTotal This property is required. String
The total number of items restore job recovered.
nasCreateTime This property is required. String
File system creation time. UNIX time in seconds.
otsDetails This property is required. List<Property Map>
paths This property is required. List<String>
List of backup path. e.g. ["/home", "/var"].
planId This property is required. String
The ID of a backup plan.
prefix This property is required. String
The prefix of Oss bucket files.
progress This property is required. String
Backup progress. The value is 100%*100.
sourceType This property is required. String
The type of data source. Valid Values: ECS_FILE, OSS, NAS, UDM_DISK.
startTime This property is required. String
The scheduled backup start time. UNIX time seconds.
status This property is required. String
The status of restore job. Valid values: COMPLETE , PARTIAL_COMPLETE, FAILED.
updatedTime This property is required. String
The update time of backup job. UNIX time seconds.
vaultId This property is required. String
The ID of backup vault.

GetBackupJobsJobOtsDetail

TableNames This property is required. List<string>
TableNames This property is required. []string
tableNames This property is required. List<String>
tableNames This property is required. string[]
table_names This property is required. Sequence[str]
tableNames This property is required. 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.
Alibaba Cloud v3.75.0 published on Friday, Mar 7, 2025 by Pulumi