alicloud.hbr.getSnapshots
Explore with Pulumi AI
This data source provides the Hbr Snapshots of the current Alibaba Cloud user.
NOTE: Available in v1.133.0+.
Example Usage
Basic Usage
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AliCloud = Pulumi.AliCloud;
return await Deployment.RunAsync(() =>
{
var defaultEcsBackupPlans = AliCloud.Hbr.GetEcsBackupPlans.Invoke(new()
{
NameRegex = "plan-tf-used-dont-delete",
});
var defaultOssBackupPlans = AliCloud.Hbr.GetOssBackupPlans.Invoke(new()
{
NameRegex = "plan-tf-used-dont-delete",
});
var defaultNasBackupPlans = AliCloud.Hbr.GetNasBackupPlans.Invoke(new()
{
NameRegex = "plan-tf-used-dont-delete",
});
var ecsSnapshots = AliCloud.Hbr.GetSnapshots.Invoke(new()
{
SourceType = "ECS_FILE",
VaultId = defaultEcsBackupPlans.Apply(getEcsBackupPlansResult => getEcsBackupPlansResult.Plans[0]?.VaultId),
InstanceId = defaultEcsBackupPlans.Apply(getEcsBackupPlansResult => getEcsBackupPlansResult.Plans[0]?.InstanceId),
});
var ossSnapshots = AliCloud.Hbr.GetSnapshots.Invoke(new()
{
SourceType = "OSS",
VaultId = defaultOssBackupPlans.Apply(getOssBackupPlansResult => getOssBackupPlansResult.Plans[0]?.VaultId),
Bucket = defaultOssBackupPlans.Apply(getOssBackupPlansResult => getOssBackupPlansResult.Plans[0]?.Bucket),
CompleteTime = "2021-07-20T14:17:15CST,2021-07-24T14:17:15CST",
CompleteTimeChecker = "BETWEEN",
});
var nasSnapshots = AliCloud.Hbr.GetSnapshots.Invoke(new()
{
SourceType = "NAS",
VaultId = defaultNasBackupPlans.Apply(getNasBackupPlansResult => getNasBackupPlansResult.Plans[0]?.VaultId),
FileSystemId = defaultNasBackupPlans.Apply(getNasBackupPlansResult => getNasBackupPlansResult.Plans[0]?.FileSystemId),
CreateTime = defaultNasBackupPlans.Apply(getNasBackupPlansResult => getNasBackupPlansResult.Plans[0]?.CreateTime),
CompleteTime = "2021-08-23T14:17:15CST",
CompleteTimeChecker = "GREATER_THAN_OR_EQUAL",
});
return new Dictionary<string, object?>
{
["hbrSnapshotId1"] = nasSnapshots.Apply(getSnapshotsResult => getSnapshotsResult.Snapshots[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 {
defaultEcsBackupPlans, err := hbr.GetEcsBackupPlans(ctx, &hbr.GetEcsBackupPlansArgs{
NameRegex: pulumi.StringRef("plan-tf-used-dont-delete"),
}, nil)
if err != nil {
return err
}
defaultOssBackupPlans, err := hbr.GetOssBackupPlans(ctx, &hbr.GetOssBackupPlansArgs{
NameRegex: pulumi.StringRef("plan-tf-used-dont-delete"),
}, nil)
if err != nil {
return err
}
defaultNasBackupPlans, err := hbr.GetNasBackupPlans(ctx, &hbr.GetNasBackupPlansArgs{
NameRegex: pulumi.StringRef("plan-tf-used-dont-delete"),
}, nil)
if err != nil {
return err
}
_, err = hbr.GetSnapshots(ctx, &hbr.GetSnapshotsArgs{
SourceType: "ECS_FILE",
VaultId: defaultEcsBackupPlans.Plans[0].VaultId,
InstanceId: pulumi.StringRef(defaultEcsBackupPlans.Plans[0].InstanceId),
}, nil)
if err != nil {
return err
}
_, err = hbr.GetSnapshots(ctx, &hbr.GetSnapshotsArgs{
SourceType: "OSS",
VaultId: defaultOssBackupPlans.Plans[0].VaultId,
Bucket: pulumi.StringRef(defaultOssBackupPlans.Plans[0].Bucket),
CompleteTime: pulumi.StringRef("2021-07-20T14:17:15CST,2021-07-24T14:17:15CST"),
CompleteTimeChecker: pulumi.StringRef("BETWEEN"),
}, nil)
if err != nil {
return err
}
nasSnapshots, err := hbr.GetSnapshots(ctx, &hbr.GetSnapshotsArgs{
SourceType: "NAS",
VaultId: defaultNasBackupPlans.Plans[0].VaultId,
FileSystemId: pulumi.StringRef(defaultNasBackupPlans.Plans[0].FileSystemId),
CreateTime: pulumi.StringRef(defaultNasBackupPlans.Plans[0].CreateTime),
CompleteTime: pulumi.StringRef("2021-08-23T14:17:15CST"),
CompleteTimeChecker: pulumi.StringRef("GREATER_THAN_OR_EQUAL"),
}, nil)
if err != nil {
return err
}
ctx.Export("hbrSnapshotId1", nasSnapshots.Snapshots[0].Id)
return nil
})
}
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.GetOssBackupPlansArgs;
import com.pulumi.alicloud.hbr.inputs.GetNasBackupPlansArgs;
import com.pulumi.alicloud.hbr.inputs.GetSnapshotsArgs;
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-tf-used-dont-delete")
.build());
final var defaultOssBackupPlans = HbrFunctions.getOssBackupPlans(GetOssBackupPlansArgs.builder()
.nameRegex("plan-tf-used-dont-delete")
.build());
final var defaultNasBackupPlans = HbrFunctions.getNasBackupPlans(GetNasBackupPlansArgs.builder()
.nameRegex("plan-tf-used-dont-delete")
.build());
final var ecsSnapshots = HbrFunctions.getSnapshots(GetSnapshotsArgs.builder()
.sourceType("ECS_FILE")
.vaultId(defaultEcsBackupPlans.applyValue(getEcsBackupPlansResult -> getEcsBackupPlansResult.plans()[0].vaultId()))
.instanceId(defaultEcsBackupPlans.applyValue(getEcsBackupPlansResult -> getEcsBackupPlansResult.plans()[0].instanceId()))
.build());
final var ossSnapshots = HbrFunctions.getSnapshots(GetSnapshotsArgs.builder()
.sourceType("OSS")
.vaultId(defaultOssBackupPlans.applyValue(getOssBackupPlansResult -> getOssBackupPlansResult.plans()[0].vaultId()))
.bucket(defaultOssBackupPlans.applyValue(getOssBackupPlansResult -> getOssBackupPlansResult.plans()[0].bucket()))
.completeTime("2021-07-20T14:17:15CST,2021-07-24T14:17:15CST")
.completeTimeChecker("BETWEEN")
.build());
final var nasSnapshots = HbrFunctions.getSnapshots(GetSnapshotsArgs.builder()
.sourceType("NAS")
.vaultId(defaultNasBackupPlans.applyValue(getNasBackupPlansResult -> getNasBackupPlansResult.plans()[0].vaultId()))
.fileSystemId(defaultNasBackupPlans.applyValue(getNasBackupPlansResult -> getNasBackupPlansResult.plans()[0].fileSystemId()))
.createTime(defaultNasBackupPlans.applyValue(getNasBackupPlansResult -> getNasBackupPlansResult.plans()[0].createTime()))
.completeTime("2021-08-23T14:17:15CST")
.completeTimeChecker("GREATER_THAN_OR_EQUAL")
.build());
ctx.export("hbrSnapshotId1", nasSnapshots.applyValue(getSnapshotsResult -> getSnapshotsResult.snapshots()[0].id()));
}
}
import pulumi
import pulumi_alicloud as alicloud
default_ecs_backup_plans = alicloud.hbr.get_ecs_backup_plans(name_regex="plan-tf-used-dont-delete")
default_oss_backup_plans = alicloud.hbr.get_oss_backup_plans(name_regex="plan-tf-used-dont-delete")
default_nas_backup_plans = alicloud.hbr.get_nas_backup_plans(name_regex="plan-tf-used-dont-delete")
ecs_snapshots = alicloud.hbr.get_snapshots(source_type="ECS_FILE",
vault_id=default_ecs_backup_plans.plans[0].vault_id,
instance_id=default_ecs_backup_plans.plans[0].instance_id)
oss_snapshots = alicloud.hbr.get_snapshots(source_type="OSS",
vault_id=default_oss_backup_plans.plans[0].vault_id,
bucket=default_oss_backup_plans.plans[0].bucket,
complete_time="2021-07-20T14:17:15CST,2021-07-24T14:17:15CST",
complete_time_checker="BETWEEN")
nas_snapshots = alicloud.hbr.get_snapshots(source_type="NAS",
vault_id=default_nas_backup_plans.plans[0].vault_id,
file_system_id=default_nas_backup_plans.plans[0].file_system_id,
create_time=default_nas_backup_plans.plans[0].create_time,
complete_time="2021-08-23T14:17:15CST",
complete_time_checker="GREATER_THAN_OR_EQUAL")
pulumi.export("hbrSnapshotId1", nas_snapshots.snapshots[0].id)
import * as pulumi from "@pulumi/pulumi";
import * as alicloud from "@pulumi/alicloud";
const defaultEcsBackupPlans = alicloud.hbr.getEcsBackupPlans({
nameRegex: "plan-tf-used-dont-delete",
});
const defaultOssBackupPlans = alicloud.hbr.getOssBackupPlans({
nameRegex: "plan-tf-used-dont-delete",
});
const defaultNasBackupPlans = alicloud.hbr.getNasBackupPlans({
nameRegex: "plan-tf-used-dont-delete",
});
const ecsSnapshots = Promise.all([defaultEcsBackupPlans, defaultEcsBackupPlans]).then(([defaultEcsBackupPlans, defaultEcsBackupPlans1]) => alicloud.hbr.getSnapshots({
sourceType: "ECS_FILE",
vaultId: defaultEcsBackupPlans.plans?.[0]?.vaultId,
instanceId: defaultEcsBackupPlans1.plans?.[0]?.instanceId,
}));
const ossSnapshots = Promise.all([defaultOssBackupPlans, defaultOssBackupPlans]).then(([defaultOssBackupPlans, defaultOssBackupPlans1]) => alicloud.hbr.getSnapshots({
sourceType: "OSS",
vaultId: defaultOssBackupPlans.plans?.[0]?.vaultId,
bucket: defaultOssBackupPlans1.plans?.[0]?.bucket,
completeTime: "2021-07-20T14:17:15CST,2021-07-24T14:17:15CST",
completeTimeChecker: "BETWEEN",
}));
const nasSnapshots = Promise.all([defaultNasBackupPlans, defaultNasBackupPlans, defaultNasBackupPlans]).then(([defaultNasBackupPlans, defaultNasBackupPlans1, defaultNasBackupPlans2]) => alicloud.hbr.getSnapshots({
sourceType: "NAS",
vaultId: defaultNasBackupPlans.plans?.[0]?.vaultId,
fileSystemId: defaultNasBackupPlans1.plans?.[0]?.fileSystemId,
createTime: defaultNasBackupPlans2.plans?.[0]?.createTime,
completeTime: "2021-08-23T14:17:15CST",
completeTimeChecker: "GREATER_THAN_OR_EQUAL",
}));
export const hbrSnapshotId1 = nasSnapshots.then(nasSnapshots => nasSnapshots.snapshots?.[0]?.id);
variables:
defaultEcsBackupPlans:
fn::invoke:
Function: alicloud:hbr:getEcsBackupPlans
Arguments:
nameRegex: plan-tf-used-dont-delete
defaultOssBackupPlans:
fn::invoke:
Function: alicloud:hbr:getOssBackupPlans
Arguments:
nameRegex: plan-tf-used-dont-delete
defaultNasBackupPlans:
fn::invoke:
Function: alicloud:hbr:getNasBackupPlans
Arguments:
nameRegex: plan-tf-used-dont-delete
ecsSnapshots:
fn::invoke:
Function: alicloud:hbr:getSnapshots
Arguments:
sourceType: ECS_FILE
vaultId: ${defaultEcsBackupPlans.plans[0].vaultId}
instanceId: ${defaultEcsBackupPlans.plans[0].instanceId}
ossSnapshots:
fn::invoke:
Function: alicloud:hbr:getSnapshots
Arguments:
sourceType: OSS
vaultId: ${defaultOssBackupPlans.plans[0].vaultId}
bucket: ${defaultOssBackupPlans.plans[0].bucket}
completeTime: 2021-07-20T14:17:15CST,2021-07-24T14:17:15CST
completeTimeChecker: BETWEEN
nasSnapshots:
fn::invoke:
Function: alicloud:hbr:getSnapshots
Arguments:
sourceType: NAS
vaultId: ${defaultNasBackupPlans.plans[0].vaultId}
fileSystemId: ${defaultNasBackupPlans.plans[0].fileSystemId}
createTime: ${defaultNasBackupPlans.plans[0].createTime}
completeTime: 2021-08-23T14:17:15CST
completeTimeChecker: GREATER_THAN_OR_EQUAL
outputs:
hbrSnapshotId1: ${nasSnapshots.snapshots[0].id}
Using getSnapshots
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 getSnapshots(args: GetSnapshotsArgs, opts?: InvokeOptions): Promise<GetSnapshotsResult>
function getSnapshotsOutput(args: GetSnapshotsOutputArgs, opts?: InvokeOptions): Output<GetSnapshotsResult>
def get_snapshots(bucket: Optional[str] = None,
complete_time: Optional[str] = None,
complete_time_checker: Optional[str] = None,
create_time: Optional[str] = None,
file_system_id: Optional[str] = None,
ids: Optional[Sequence[str]] = None,
instance_id: Optional[str] = None,
limit: Optional[int] = None,
output_file: Optional[str] = None,
query: Optional[str] = None,
source_type: Optional[str] = None,
status: Optional[str] = None,
vault_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetSnapshotsResult
def get_snapshots_output(bucket: Optional[pulumi.Input[str]] = None,
complete_time: Optional[pulumi.Input[str]] = None,
complete_time_checker: Optional[pulumi.Input[str]] = None,
create_time: Optional[pulumi.Input[str]] = None,
file_system_id: Optional[pulumi.Input[str]] = None,
ids: Optional[pulumi.Input[Sequence[pulumi.Input[str]]]] = None,
instance_id: Optional[pulumi.Input[str]] = None,
limit: Optional[pulumi.Input[int]] = None,
output_file: Optional[pulumi.Input[str]] = None,
query: Optional[pulumi.Input[str]] = None,
source_type: Optional[pulumi.Input[str]] = None,
status: Optional[pulumi.Input[str]] = None,
vault_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSnapshotsResult]
func GetSnapshots(ctx *Context, args *GetSnapshotsArgs, opts ...InvokeOption) (*GetSnapshotsResult, error)
func GetSnapshotsOutput(ctx *Context, args *GetSnapshotsOutputArgs, opts ...InvokeOption) GetSnapshotsResultOutput
> Note: This function is named GetSnapshots
in the Go SDK.
public static class GetSnapshots
{
public static Task<GetSnapshotsResult> InvokeAsync(GetSnapshotsArgs args, InvokeOptions? opts = null)
public static Output<GetSnapshotsResult> Invoke(GetSnapshotsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetSnapshotsResult> getSnapshots(GetSnapshotsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: alicloud:hbr/getSnapshots:getSnapshots
arguments:
# arguments dictionary
The following arguments are supported:
- Source
Type string Data source type, optional values:
ECS_FILE
,OSS
,NAS
.- Vault
Id string The ID of Vault.
- Bucket string
The name of OSS bucket.
- Complete
Time string The time when the snapshot completed. UNIX time in seconds.
- Complete
Time stringChecker Complete time filter operator. Optional values:
MATCH_TERM
,GREATER_THAN
,GREATER_THAN_OR_EQUAL
,LESS_THAN
,LESS_THAN_OR_EQUAL
,BETWEEN
.- Create
Time string File System Creation Time of Nas. Unix Time Seconds.
- File
System stringId The ID of NAS File system.
- Ids List<string>
A list of Snapshot IDs.
- Instance
Id string The ID of ECS instance.
- Limit int
- Output
File string File name where to save data source results (after running
pulumi preview
).- Query string
- Status string
The status of snapshot execution. Possible values:
COMPLETE
,PARTIAL_COMPLETE
,FAILED
.
- Source
Type string Data source type, optional values:
ECS_FILE
,OSS
,NAS
.- Vault
Id string The ID of Vault.
- Bucket string
The name of OSS bucket.
- Complete
Time string The time when the snapshot completed. UNIX time in seconds.
- Complete
Time stringChecker Complete time filter operator. Optional values:
MATCH_TERM
,GREATER_THAN
,GREATER_THAN_OR_EQUAL
,LESS_THAN
,LESS_THAN_OR_EQUAL
,BETWEEN
.- Create
Time string File System Creation Time of Nas. Unix Time Seconds.
- File
System stringId The ID of NAS File system.
- Ids []string
A list of Snapshot IDs.
- Instance
Id string The ID of ECS instance.
- Limit int
- Output
File string File name where to save data source results (after running
pulumi preview
).- Query string
- Status string
The status of snapshot execution. Possible values:
COMPLETE
,PARTIAL_COMPLETE
,FAILED
.
- source
Type String Data source type, optional values:
ECS_FILE
,OSS
,NAS
.- vault
Id String The ID of Vault.
- bucket String
The name of OSS bucket.
- complete
Time String The time when the snapshot completed. UNIX time in seconds.
- complete
Time StringChecker Complete time filter operator. Optional values:
MATCH_TERM
,GREATER_THAN
,GREATER_THAN_OR_EQUAL
,LESS_THAN
,LESS_THAN_OR_EQUAL
,BETWEEN
.- create
Time String File System Creation Time of Nas. Unix Time Seconds.
- file
System StringId The ID of NAS File system.
- ids List<String>
A list of Snapshot IDs.
- instance
Id String The ID of ECS instance.
- limit Integer
- output
File String File name where to save data source results (after running
pulumi preview
).- query String
- status String
The status of snapshot execution. Possible values:
COMPLETE
,PARTIAL_COMPLETE
,FAILED
.
- source
Type string Data source type, optional values:
ECS_FILE
,OSS
,NAS
.- vault
Id string The ID of Vault.
- bucket string
The name of OSS bucket.
- complete
Time string The time when the snapshot completed. UNIX time in seconds.
- complete
Time stringChecker Complete time filter operator. Optional values:
MATCH_TERM
,GREATER_THAN
,GREATER_THAN_OR_EQUAL
,LESS_THAN
,LESS_THAN_OR_EQUAL
,BETWEEN
.- create
Time string File System Creation Time of Nas. Unix Time Seconds.
- file
System stringId The ID of NAS File system.
- ids string[]
A list of Snapshot IDs.
- instance
Id string The ID of ECS instance.
- limit number
- output
File string File name where to save data source results (after running
pulumi preview
).- query string
- status string
The status of snapshot execution. Possible values:
COMPLETE
,PARTIAL_COMPLETE
,FAILED
.
- source_
type str Data source type, optional values:
ECS_FILE
,OSS
,NAS
.- vault_
id str The ID of Vault.
- bucket str
The name of OSS bucket.
- complete_
time str The time when the snapshot completed. UNIX time in seconds.
- complete_
time_ strchecker Complete time filter operator. Optional values:
MATCH_TERM
,GREATER_THAN
,GREATER_THAN_OR_EQUAL
,LESS_THAN
,LESS_THAN_OR_EQUAL
,BETWEEN
.- create_
time str File System Creation Time of Nas. Unix Time Seconds.
- file_
system_ strid The ID of NAS File system.
- ids Sequence[str]
A list of Snapshot IDs.
- instance_
id str The ID of ECS instance.
- limit int
- output_
file str File name where to save data source results (after running
pulumi preview
).- query str
- status str
The status of snapshot execution. Possible values:
COMPLETE
,PARTIAL_COMPLETE
,FAILED
.
- source
Type String Data source type, optional values:
ECS_FILE
,OSS
,NAS
.- vault
Id String The ID of Vault.
- bucket String
The name of OSS bucket.
- complete
Time String The time when the snapshot completed. UNIX time in seconds.
- complete
Time StringChecker Complete time filter operator. Optional values:
MATCH_TERM
,GREATER_THAN
,GREATER_THAN_OR_EQUAL
,LESS_THAN
,LESS_THAN_OR_EQUAL
,BETWEEN
.- create
Time String File System Creation Time of Nas. Unix Time Seconds.
- file
System StringId The ID of NAS File system.
- ids List<String>
A list of Snapshot IDs.
- instance
Id String The ID of ECS instance.
- limit Number
- output
File String File name where to save data source results (after running
pulumi preview
).- query String
- status String
The status of snapshot execution. Possible values:
COMPLETE
,PARTIAL_COMPLETE
,FAILED
.
getSnapshots Result
The following output properties are available:
- Id string
The provider-assigned unique ID for this managed resource.
- Ids List<string>
- Snapshots
List<Pulumi.
Ali Cloud. Hbr. Outputs. Get Snapshots Snapshot> - Source
Type string - Vault
Id string - Bucket string
- Complete
Time string - Complete
Time stringChecker - Create
Time string - File
System stringId - Instance
Id string - Limit int
- Output
File string - Query string
- Status string
- Id string
The provider-assigned unique ID for this managed resource.
- Ids []string
- Snapshots
[]Get
Snapshots Snapshot - Source
Type string - Vault
Id string - Bucket string
- Complete
Time string - Complete
Time stringChecker - Create
Time string - File
System stringId - Instance
Id string - Limit int
- Output
File string - Query string
- Status string
- id String
The provider-assigned unique ID for this managed resource.
- ids List<String>
- snapshots
List<Get
Snapshots Snapshot> - source
Type String - vault
Id String - bucket String
- complete
Time String - complete
Time StringChecker - create
Time String - file
System StringId - instance
Id String - limit Integer
- output
File String - query String
- status String
- id string
The provider-assigned unique ID for this managed resource.
- ids string[]
- snapshots
Get
Snapshots Snapshot[] - source
Type string - vault
Id string - bucket string
- complete
Time string - complete
Time stringChecker - create
Time string - file
System stringId - instance
Id string - limit number
- output
File string - query string
- status string
- id str
The provider-assigned unique ID for this managed resource.
- ids Sequence[str]
- snapshots
Sequence[Get
Snapshots Snapshot] - source_
type str - vault_
id str - bucket str
- complete_
time str - complete_
time_ strchecker - create_
time str - file_
system_ strid - instance_
id str - limit int
- output_
file str - query str
- status str
- id String
The provider-assigned unique ID for this managed resource.
- ids List<String>
- snapshots List<Property Map>
- source
Type String - vault
Id String - bucket String
- complete
Time String - complete
Time StringChecker - create
Time String - file
System StringId - instance
Id String - limit Number
- output
File String - query String
- status String
Supporting Types
GetSnapshotsSnapshot
- Actual
Bytes string The actual data volume of the snapshot. Unit byte.
- Actual
Items string The actual number of items in the snapshot. (Currently only file backup is available).
- Backup
Type string Backup type. Possible values:
COMPLETE
(full backup).- Bucket string
The name of OSS bucket.
- Bytes
Done string The incremental amount of backup data. Unit byte.
- Bytes
Total string The total amount of data sources. Unit byte.
- Client
Id string The ID of ECS backup client.
- Complete
Time string The time when the snapshot completed. UNIX time in seconds.
- Create
Time string File System Creation Time of Nas. Unix Time Seconds.
- Created
Time string Snapshot creation time. UNIX time in seconds.
- Error
File string - File
System stringId The ID of NAS File system.
- Id string
The ID of the Snapshot.
- Instance
Id string The ID of ECS instance.
- Items
Done string The number of backup items. (Currently only file backup is available).
- Items
Total string The total number of data source items. (Currently only file backup is available).
- Job
Id string The job ID of backup task.
- Parent
Snapshot stringHash The hashcode of parent backup snapshot.
- Path string
Backup Path.
- Prefix string
Backup file prefix.
- Retention string
The number of days to keep.
- Snapshot
Hash string The hashcode of Snapshot.
- Snapshot
Id string The ID of the Snapshot.
- Source
Type string Data source type, optional values:
ECS_FILE
,OSS
,NAS
.- Start
Time string The start time of the snapshot. UNIX time in seconds.
- Status string
The status of snapshot execution. Possible values:
COMPLETE
,PARTIAL_COMPLETE
,FAILED
.- Updated
Time string The update time of snapshot. UNIX time in seconds.
- Actual
Bytes string The actual data volume of the snapshot. Unit byte.
- Actual
Items string The actual number of items in the snapshot. (Currently only file backup is available).
- Backup
Type string Backup type. Possible values:
COMPLETE
(full backup).- Bucket string
The name of OSS bucket.
- Bytes
Done string The incremental amount of backup data. Unit byte.
- Bytes
Total string The total amount of data sources. Unit byte.
- Client
Id string The ID of ECS backup client.
- Complete
Time string The time when the snapshot completed. UNIX time in seconds.
- Create
Time string File System Creation Time of Nas. Unix Time Seconds.
- Created
Time string Snapshot creation time. UNIX time in seconds.
- Error
File string - File
System stringId The ID of NAS File system.
- Id string
The ID of the Snapshot.
- Instance
Id string The ID of ECS instance.
- Items
Done string The number of backup items. (Currently only file backup is available).
- Items
Total string The total number of data source items. (Currently only file backup is available).
- Job
Id string The job ID of backup task.
- Parent
Snapshot stringHash The hashcode of parent backup snapshot.
- Path string
Backup Path.
- Prefix string
Backup file prefix.
- Retention string
The number of days to keep.
- Snapshot
Hash string The hashcode of Snapshot.
- Snapshot
Id string The ID of the Snapshot.
- Source
Type string Data source type, optional values:
ECS_FILE
,OSS
,NAS
.- Start
Time string The start time of the snapshot. UNIX time in seconds.
- Status string
The status of snapshot execution. Possible values:
COMPLETE
,PARTIAL_COMPLETE
,FAILED
.- Updated
Time string The update time of snapshot. UNIX time in seconds.
- actual
Bytes String The actual data volume of the snapshot. Unit byte.
- actual
Items String The actual number of items in the snapshot. (Currently only file backup is available).
- backup
Type String Backup type. Possible values:
COMPLETE
(full backup).- bucket String
The name of OSS bucket.
- bytes
Done String The incremental amount of backup data. Unit byte.
- bytes
Total String The total amount of data sources. Unit byte.
- client
Id String The ID of ECS backup client.
- complete
Time String The time when the snapshot completed. UNIX time in seconds.
- create
Time String File System Creation Time of Nas. Unix Time Seconds.
- created
Time String Snapshot creation time. UNIX time in seconds.
- error
File String - file
System StringId The ID of NAS File system.
- id String
The ID of the Snapshot.
- instance
Id String The ID of ECS instance.
- items
Done String The number of backup items. (Currently only file backup is available).
- items
Total String The total number of data source items. (Currently only file backup is available).
- job
Id String The job ID of backup task.
- parent
Snapshot StringHash The hashcode of parent backup snapshot.
- path String
Backup Path.
- prefix String
Backup file prefix.
- retention String
The number of days to keep.
- snapshot
Hash String The hashcode of Snapshot.
- snapshot
Id String The ID of the Snapshot.
- source
Type String Data source type, optional values:
ECS_FILE
,OSS
,NAS
.- start
Time String The start time of the snapshot. UNIX time in seconds.
- status String
The status of snapshot execution. Possible values:
COMPLETE
,PARTIAL_COMPLETE
,FAILED
.- updated
Time String The update time of snapshot. UNIX time in seconds.
- actual
Bytes string The actual data volume of the snapshot. Unit byte.
- actual
Items string The actual number of items in the snapshot. (Currently only file backup is available).
- backup
Type string Backup type. Possible values:
COMPLETE
(full backup).- bucket string
The name of OSS bucket.
- bytes
Done string The incremental amount of backup data. Unit byte.
- bytes
Total string The total amount of data sources. Unit byte.
- client
Id string The ID of ECS backup client.
- complete
Time string The time when the snapshot completed. UNIX time in seconds.
- create
Time string File System Creation Time of Nas. Unix Time Seconds.
- created
Time string Snapshot creation time. UNIX time in seconds.
- error
File string - file
System stringId The ID of NAS File system.
- id string
The ID of the Snapshot.
- instance
Id string The ID of ECS instance.
- items
Done string The number of backup items. (Currently only file backup is available).
- items
Total string The total number of data source items. (Currently only file backup is available).
- job
Id string The job ID of backup task.
- parent
Snapshot stringHash The hashcode of parent backup snapshot.
- path string
Backup Path.
- prefix string
Backup file prefix.
- retention string
The number of days to keep.
- snapshot
Hash string The hashcode of Snapshot.
- snapshot
Id string The ID of the Snapshot.
- source
Type string Data source type, optional values:
ECS_FILE
,OSS
,NAS
.- start
Time string The start time of the snapshot. UNIX time in seconds.
- status string
The status of snapshot execution. Possible values:
COMPLETE
,PARTIAL_COMPLETE
,FAILED
.- updated
Time string The update time of snapshot. UNIX time in seconds.
- actual_
bytes str The actual data volume of the snapshot. Unit byte.
- actual_
items str The actual number of items in the snapshot. (Currently only file backup is available).
- backup_
type str Backup type. Possible values:
COMPLETE
(full backup).- bucket str
The name of OSS bucket.
- bytes_
done str The incremental amount of backup data. Unit byte.
- bytes_
total str The total amount of data sources. Unit byte.
- client_
id str The ID of ECS backup client.
- complete_
time str The time when the snapshot completed. UNIX time in seconds.
- create_
time str File System Creation Time of Nas. Unix Time Seconds.
- created_
time str Snapshot creation time. UNIX time in seconds.
- error_
file str - file_
system_ strid The ID of NAS File system.
- id str
The ID of the Snapshot.
- instance_
id str The ID of ECS instance.
- items_
done str The number of backup items. (Currently only file backup is available).
- items_
total str The total number of data source items. (Currently only file backup is available).
- job_
id str The job ID of backup task.
- parent_
snapshot_ strhash The hashcode of parent backup snapshot.
- path str
Backup Path.
- prefix str
Backup file prefix.
- retention str
The number of days to keep.
- snapshot_
hash str The hashcode of Snapshot.
- snapshot_
id str The ID of the Snapshot.
- source_
type str Data source type, optional values:
ECS_FILE
,OSS
,NAS
.- start_
time str The start time of the snapshot. UNIX time in seconds.
- status str
The status of snapshot execution. Possible values:
COMPLETE
,PARTIAL_COMPLETE
,FAILED
.- updated_
time str The update time of snapshot. UNIX time in seconds.
- actual
Bytes String The actual data volume of the snapshot. Unit byte.
- actual
Items String The actual number of items in the snapshot. (Currently only file backup is available).
- backup
Type String Backup type. Possible values:
COMPLETE
(full backup).- bucket String
The name of OSS bucket.
- bytes
Done String The incremental amount of backup data. Unit byte.
- bytes
Total String The total amount of data sources. Unit byte.
- client
Id String The ID of ECS backup client.
- complete
Time String The time when the snapshot completed. UNIX time in seconds.
- create
Time String File System Creation Time of Nas. Unix Time Seconds.
- created
Time String Snapshot creation time. UNIX time in seconds.
- error
File String - file
System StringId The ID of NAS File system.
- id String
The ID of the Snapshot.
- instance
Id String The ID of ECS instance.
- items
Done String The number of backup items. (Currently only file backup is available).
- items
Total String The total number of data source items. (Currently only file backup is available).
- job
Id String The job ID of backup task.
- parent
Snapshot StringHash The hashcode of parent backup snapshot.
- path String
Backup Path.
- prefix String
Backup file prefix.
- retention String
The number of days to keep.
- snapshot
Hash String The hashcode of Snapshot.
- snapshot
Id String The ID of the Snapshot.
- source
Type String Data source type, optional values:
ECS_FILE
,OSS
,NAS
.- start
Time String The start time of the snapshot. UNIX time in seconds.
- status String
The status of snapshot execution. Possible values:
COMPLETE
,PARTIAL_COMPLETE
,FAILED
.- updated
Time String The update time of snapshot. UNIX time in seconds.
Package Details
- Repository
- Alibaba Cloud pulumi/pulumi-alicloud
- License
- Apache-2.0
- Notes
This Pulumi package is based on the
alicloud
Terraform Provider.