Alibaba Cloud

v3.28.0 published on Tuesday, Aug 16, 2022 by Pulumi

getBackupJobs

This data source provides the Hbr Backup Jobs of the current Alibaba Cloud user.

NOTE: Available in v1.138.0+.

Example Usage

Basic 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!

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 defaultEcsBackupPlans = HbrFunctions.getEcsBackupPlans(GetEcsBackupPlansArgs.builder()
            .nameRegex("plan-name")
            .build());

        final var defaultBackupJobs = HbrFunctions.getBackupJobs(GetBackupJobsArgs.builder()
            .sourceType("ECS_FILE")
            .filters(            
                GetBackupJobsFilterArgs.builder()
                    .key("VaultId")
                    .operator("IN")
                    .values(defaultEcsBackupPlans.applyValue(getEcsBackupPlansResult -> getEcsBackupPlansResult.plans()[0].vaultId()))
                    .build(),
                GetBackupJobsFilterArgs.builder()
                    .key("InstanceId")
                    .operator("IN")
                    .values(defaultEcsBackupPlans.applyValue(getEcsBackupPlansResult -> getEcsBackupPlansResult.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(defaultEcsBackupPlans.applyValue(getEcsBackupPlansResult -> getEcsBackupPlansResult.plans()[0].vaultId()))
                    .build(),
                GetBackupJobsFilterArgs.builder()
                    .key("InstanceId")
                    .operator("IN")
                    .values(defaultEcsBackupPlans.applyValue(getEcsBackupPlansResult -> getEcsBackupPlansResult.plans()[0].instanceId()))
                    .build(),
                GetBackupJobsFilterArgs.builder()
                    .key("CompleteTime")
                    .operator("LESS_THAN")
                    .values("2021-10-20T20:20:20CST")
                    .build())
            .build());

        ctx.export("alicloudHbrBackupJobsDefault1", defaultBackupJobs.applyValue(getBackupJobsResult -> getBackupJobsResult.jobs()[0].id()));
        ctx.export("alicloudHbrBackupJobsExample1", example.applyValue(getBackupJobsResult -> getBackupJobsResult.jobs()[0].id()));
    }
}
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);
variables:
  defaultEcsBackupPlans:
    Fn::Invoke:
      Function: alicloud:hbr:getEcsBackupPlans
      Arguments:
        nameRegex: plan-name
  defaultBackupJobs:
    Fn::Invoke:
      Function: alicloud:hbr:getBackupJobs
      Arguments:
        sourceType: ECS_FILE
        filters:
          - key: VaultId
            operator: IN
            values:
              - ${defaultEcsBackupPlans.plans[0].vaultId}
          - key: InstanceId
            operator: IN
            values:
              - ${defaultEcsBackupPlans.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:
              - ${defaultEcsBackupPlans.plans[0].vaultId}
          - key: InstanceId
            operator: IN
            values:
              - ${defaultEcsBackupPlans.plans[0].instanceId}
          - key: CompleteTime
            operator: LESS_THAN
            values:
              - 2021-10-20T20:20:20CST
outputs:
  alicloudHbrBackupJobsDefault1: ${defaultBackupJobs.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:

SourceType string

The type of data source. Valid Values: ECS_FILE, OSS, NAS, UDM_DISK.

Filters List<Pulumi.AliCloud.Hbr.Inputs.GetBackupJobsFilter>
Ids List<string>

A list of Backup Job IDs.

OutputFile string
SortDirection 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 restore job. Valid values: COMPLETE , PARTIAL_COMPLETE, FAILED.

SourceType string

The type of data source. Valid Values: ECS_FILE, OSS, NAS, UDM_DISK.

Filters []GetBackupJobsFilter
Ids []string

A list of Backup Job IDs.

OutputFile string
SortDirection 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 restore job. Valid values: COMPLETE , PARTIAL_COMPLETE, FAILED.

sourceType String

The type of data source. Valid Values: ECS_FILE, OSS, NAS, UDM_DISK.

filters List<GetBackupJobsFilter>
ids List<String>

A list of Backup Job IDs.

outputFile String
sortDirection 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 restore job. Valid values: COMPLETE , PARTIAL_COMPLETE, FAILED.

sourceType string

The type of data source. Valid Values: ECS_FILE, OSS, NAS, UDM_DISK.

filters GetBackupJobsFilter[]
ids string[]

A list of Backup Job IDs.

outputFile string
sortDirection 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 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[GetBackupJobsFilter]
ids Sequence[str]

A list of Backup Job IDs.

output_file str
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 restore job. Valid values: COMPLETE , PARTIAL_COMPLETE, FAILED.

sourceType String

The type of data source. Valid Values: ECS_FILE, OSS, NAS, UDM_DISK.

filters List<Property Map>
ids List<String>

A list of Backup Job IDs.

outputFile String
sortDirection 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 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.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.

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<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 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<String>

Set of values that are accepted for the given field.

GetBackupJobsJob

ActualBytes string

The actual data volume of the backup task (After deduplication) . Unit byte.

ActualItems string

The actual number of items in the backup task. (Currently only file backup is available).

BackJobName string

The name of backup job.

BackupJobId string

The ID of the backup job.

BackupType string

Backup type. Valid values: COMPLETE(full backup).

Bucket string

The name of target OSS bucket.

BytesDone string

The amount of backup data (Incremental). Unit byte.

BytesTotal string

The total amount of data sources. Unit byte.

CompleteTime string

The completion time of backup job. UNIX time seconds.

CreateTime string

The creation time of backup job. UNIX time seconds.

ErrorMessage string

Error message.

Exclude string

Exclude path. String of Json list. Up to 255 characters. e.g. "[\"/home/work\"]"

FileSystemId string

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\"]"

InstanceId string

The ID of target ECS instance.

ItemsDone string

The number of items restore job recovered.

ItemsTotal string

The total number of items restore job recovered.

NasCreateTime string

File system creation time. UNIX time in seconds.

OtsDetails List<Pulumi.AliCloud.Hbr.Inputs.GetBackupJobsJobOtsDetail>
Paths List<string>

List of backup path. e.g. ["/home", "/var"].

PlanId string

The ID of a backup plan.

Prefix string

The prefix of Oss bucket files.

Progress string

Backup progress. The value is 100%*100.

SourceType string

The type of data source. Valid Values: ECS_FILE, OSS, NAS, UDM_DISK.

StartTime string

The scheduled backup start time. UNIX time seconds.

Status string

The status of restore job. Valid values: COMPLETE , PARTIAL_COMPLETE, FAILED.

UpdatedTime string

The update time of backup job. UNIX time seconds.

VaultId string

The ID of backup vault.

ActualBytes string

The actual data volume of the backup task (After deduplication) . Unit byte.

ActualItems string

The actual number of items in the backup task. (Currently only file backup is available).

BackJobName string

The name of backup job.

BackupJobId string

The ID of the backup job.

BackupType string

Backup type. Valid values: COMPLETE(full backup).

Bucket string

The name of target OSS bucket.

BytesDone string

The amount of backup data (Incremental). Unit byte.

BytesTotal string

The total amount of data sources. Unit byte.

CompleteTime string

The completion time of backup job. UNIX time seconds.

CreateTime string

The creation time of backup job. UNIX time seconds.

ErrorMessage string

Error message.

Exclude string

Exclude path. String of Json list. Up to 255 characters. e.g. "[\"/home/work\"]"

FileSystemId string

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\"]"

InstanceId string

The ID of target ECS instance.

ItemsDone string

The number of items restore job recovered.

ItemsTotal string

The total number of items restore job recovered.

NasCreateTime string

File system creation time. UNIX time in seconds.

OtsDetails []GetBackupJobsJobOtsDetail
Paths []string

List of backup path. e.g. ["/home", "/var"].

PlanId string

The ID of a backup plan.

Prefix string

The prefix of Oss bucket files.

Progress string

Backup progress. The value is 100%*100.

SourceType string

The type of data source. Valid Values: ECS_FILE, OSS, NAS, UDM_DISK.

StartTime string

The scheduled backup start time. UNIX time seconds.

Status string

The status of restore job. Valid values: COMPLETE , PARTIAL_COMPLETE, FAILED.

UpdatedTime string

The update time of backup job. UNIX time seconds.

VaultId string

The ID of backup vault.

actualBytes String

The actual data volume of the backup task (After deduplication) . Unit byte.

actualItems String

The actual number of items in the backup task. (Currently only file backup is available).

backJobName String

The name of backup job.

backupJobId String

The ID of the backup job.

backupType String

Backup type. Valid values: COMPLETE(full backup).

bucket String

The name of target OSS bucket.

bytesDone String

The amount of backup data (Incremental). Unit byte.

bytesTotal String

The total amount of data sources. Unit byte.

completeTime String

The completion time of backup job. UNIX time seconds.

createTime String

The creation time of backup job. UNIX time seconds.

errorMessage String

Error message.

exclude String

Exclude path. String of Json list. Up to 255 characters. e.g. "[\"/home/work\"]"

fileSystemId String

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\"]"

instanceId String

The ID of target ECS instance.

itemsDone String

The number of items restore job recovered.

itemsTotal String

The total number of items restore job recovered.

nasCreateTime String

File system creation time. UNIX time in seconds.

otsDetails List<GetBackupJobsJobOtsDetail>
paths List<String>

List of backup path. e.g. ["/home", "/var"].

planId String

The ID of a backup plan.

prefix String

The prefix of Oss bucket files.

progress String

Backup progress. The value is 100%*100.

sourceType String

The type of data source. Valid Values: ECS_FILE, OSS, NAS, UDM_DISK.

startTime String

The scheduled backup start time. UNIX time seconds.

status String

The status of restore job. Valid values: COMPLETE , PARTIAL_COMPLETE, FAILED.

updatedTime String

The update time of backup job. UNIX time seconds.

vaultId String

The ID of backup vault.

actualBytes string

The actual data volume of the backup task (After deduplication) . Unit byte.

actualItems string

The actual number of items in the backup task. (Currently only file backup is available).

backJobName string

The name of backup job.

backupJobId string

The ID of the backup job.

backupType string

Backup type. Valid values: COMPLETE(full backup).

bucket string

The name of target OSS bucket.

bytesDone string

The amount of backup data (Incremental). Unit byte.

bytesTotal string

The total amount of data sources. Unit byte.

completeTime string

The completion time of backup job. UNIX time seconds.

createTime string

The creation time of backup job. UNIX time seconds.

errorMessage string

Error message.

exclude string

Exclude path. String of Json list. Up to 255 characters. e.g. "[\"/home/work\"]"

fileSystemId string

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\"]"

instanceId string

The ID of target ECS instance.

itemsDone string

The number of items restore job recovered.

itemsTotal string

The total number of items restore job recovered.

nasCreateTime string

File system creation time. UNIX time in seconds.

otsDetails GetBackupJobsJobOtsDetail[]
paths string[]

List of backup path. e.g. ["/home", "/var"].

planId string

The ID of a backup plan.

prefix string

The prefix of Oss bucket files.

progress string

Backup progress. The value is 100%*100.

sourceType string

The type of data source. Valid Values: ECS_FILE, OSS, NAS, UDM_DISK.

startTime string

The scheduled backup start time. UNIX time seconds.

status string

The status of restore job. Valid values: COMPLETE , PARTIAL_COMPLETE, FAILED.

updatedTime string

The update time of backup job. UNIX time seconds.

vaultId 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_name str

The name of backup job.

backup_job_id str

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_id str

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_time str

File system creation time. UNIX time in seconds.

ots_details Sequence[GetBackupJobsJobOtsDetail]
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.

actualBytes String

The actual data volume of the backup task (After deduplication) . Unit byte.

actualItems String

The actual number of items in the backup task. (Currently only file backup is available).

backJobName String

The name of backup job.

backupJobId String

The ID of the backup job.

backupType String

Backup type. Valid values: COMPLETE(full backup).

bucket String

The name of target OSS bucket.

bytesDone String

The amount of backup data (Incremental). Unit byte.

bytesTotal String

The total amount of data sources. Unit byte.

completeTime String

The completion time of backup job. UNIX time seconds.

createTime String

The creation time of backup job. UNIX time seconds.

errorMessage String

Error message.

exclude String

Exclude path. String of Json list. Up to 255 characters. e.g. "[\"/home/work\"]"

fileSystemId String

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\"]"

instanceId String

The ID of target ECS instance.

itemsDone String

The number of items restore job recovered.

itemsTotal String

The total number of items restore job recovered.

nasCreateTime String

File system creation time. UNIX time in seconds.

otsDetails List<Property Map>
paths List<String>

List of backup path. e.g. ["/home", "/var"].

planId String

The ID of a backup plan.

prefix String

The prefix of Oss bucket files.

progress String

Backup progress. The value is 100%*100.

sourceType String

The type of data source. Valid Values: ECS_FILE, OSS, NAS, UDM_DISK.

startTime String

The scheduled backup start time. UNIX time seconds.

status String

The status of restore job. Valid values: COMPLETE , PARTIAL_COMPLETE, FAILED.

updatedTime String

The update time of backup job. UNIX time seconds.

vaultId String

The ID of backup vault.

GetBackupJobsJobOtsDetail

TableNames List<string>
TableNames []string
tableNames List<String>
tableNames string[]
table_names Sequence[str]
tableNames List<String>

Package Details

Repository
https://github.com/pulumi/pulumi-alicloud
License
Apache-2.0
Notes

This Pulumi package is based on the alicloud Terraform Provider.