Viewing docs for outscale 1.4.0
published on Tuesday, Feb 24, 2026 by outscale
published on Tuesday, Feb 24, 2026 by outscale
Viewing docs for outscale 1.4.0
published on Tuesday, Feb 24, 2026 by outscale
published on Tuesday, Feb 24, 2026 by outscale
Provides information about a snapshot export task.
For more information on this resource, see the User Guide.
For more information on this resource actions, see the API documentation.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as outscale from "@pulumi/outscale";
const snapshotExportTask01 = outscale.getSnapshotExportTask({
filters: [{
name: "task_ids",
values: ["snap-export-12345678"],
}],
});
import pulumi
import pulumi_outscale as outscale
snapshot_export_task01 = outscale.get_snapshot_export_task(filters=[{
"name": "task_ids",
"values": ["snap-export-12345678"],
}])
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/outscale/outscale"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := outscale.LookupSnapshotExportTask(ctx, &outscale.LookupSnapshotExportTaskArgs{
Filters: []outscale.GetSnapshotExportTaskFilter{
{
Name: "task_ids",
Values: []string{
"snap-export-12345678",
},
},
},
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Outscale = Pulumi.Outscale;
return await Deployment.RunAsync(() =>
{
var snapshotExportTask01 = Outscale.GetSnapshotExportTask.Invoke(new()
{
Filters = new[]
{
new Outscale.Inputs.GetSnapshotExportTaskFilterInputArgs
{
Name = "task_ids",
Values = new[]
{
"snap-export-12345678",
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.outscale.OutscaleFunctions;
import com.pulumi.outscale.inputs.GetSnapshotExportTaskArgs;
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 snapshotExportTask01 = OutscaleFunctions.getSnapshotExportTask(GetSnapshotExportTaskArgs.builder()
.filters(GetSnapshotExportTaskFilterArgs.builder()
.name("task_ids")
.values("snap-export-12345678")
.build())
.build());
}
}
variables:
snapshotExportTask01:
fn::invoke:
function: outscale:getSnapshotExportTask
arguments:
filters:
- name: task_ids
values:
- snap-export-12345678
Using getSnapshotExportTask
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 getSnapshotExportTask(args: GetSnapshotExportTaskArgs, opts?: InvokeOptions): Promise<GetSnapshotExportTaskResult>
function getSnapshotExportTaskOutput(args: GetSnapshotExportTaskOutputArgs, opts?: InvokeOptions): Output<GetSnapshotExportTaskResult>def get_snapshot_export_task(dry_run: Optional[bool] = None,
filters: Optional[Sequence[GetSnapshotExportTaskFilter]] = None,
id: Optional[str] = None,
timeouts: Optional[GetSnapshotExportTaskTimeouts] = None,
opts: Optional[InvokeOptions] = None) -> GetSnapshotExportTaskResult
def get_snapshot_export_task_output(dry_run: Optional[pulumi.Input[bool]] = None,
filters: Optional[pulumi.Input[Sequence[pulumi.Input[GetSnapshotExportTaskFilterArgs]]]] = None,
id: Optional[pulumi.Input[str]] = None,
timeouts: Optional[pulumi.Input[GetSnapshotExportTaskTimeoutsArgs]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetSnapshotExportTaskResult]func LookupSnapshotExportTask(ctx *Context, args *LookupSnapshotExportTaskArgs, opts ...InvokeOption) (*LookupSnapshotExportTaskResult, error)
func LookupSnapshotExportTaskOutput(ctx *Context, args *LookupSnapshotExportTaskOutputArgs, opts ...InvokeOption) LookupSnapshotExportTaskResultOutput> Note: This function is named LookupSnapshotExportTask in the Go SDK.
public static class GetSnapshotExportTask
{
public static Task<GetSnapshotExportTaskResult> InvokeAsync(GetSnapshotExportTaskArgs args, InvokeOptions? opts = null)
public static Output<GetSnapshotExportTaskResult> Invoke(GetSnapshotExportTaskInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetSnapshotExportTaskResult> getSnapshotExportTask(GetSnapshotExportTaskArgs args, InvokeOptions options)
public static Output<GetSnapshotExportTaskResult> getSnapshotExportTask(GetSnapshotExportTaskArgs args, InvokeOptions options)
fn::invoke:
function: outscale:index/getSnapshotExportTask:getSnapshotExportTask
arguments:
# arguments dictionaryThe following arguments are supported:
- Dry
Run bool - Filters
List<Get
Snapshot Export Task Filter> - A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following:
- Id string
- Timeouts
Get
Snapshot Export Task Timeouts
- Dry
Run bool - Filters
[]Get
Snapshot Export Task Filter - A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following:
- Id string
- Timeouts
Get
Snapshot Export Task Timeouts
- dry
Run Boolean - filters
List<Get
Snapshot Export Task Filter> - A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following:
- id String
- timeouts
Get
Snapshot Export Task Timeouts
- dry
Run boolean - filters
Get
Snapshot Export Task Filter[] - A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following:
- id string
- timeouts
Get
Snapshot Export Task Timeouts
- dry_
run bool - filters
Sequence[Get
Snapshot Export Task Filter] - A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following:
- id str
- timeouts
Get
Snapshot Export Task Timeouts
- dry
Run Boolean - filters List<Property Map>
- A combination of a filter name and one or more filter values. You can specify this argument for as many filter names as you need. The filter name can be any of the following:
- id String
- timeouts Property Map
getSnapshotExportTask Result
The following output properties are available:
- Comment string
- If the snapshot export task fails, an error message appears.
- Dry
Run bool - Id string
- Osu
Exports List<GetSnapshot Export Task Osu Export> - Information about the snapshot export task.
- Progress double
- The progress of the snapshot export task, as a percentage.
- Request
Id string - Snapshot
Id string - The ID of the snapshot to be exported.
- State string
- The state of the snapshot export task (
pending|active|completed|cancelled|failed). -
List<Get
Snapshot Export Task Tag> - One or more tags associated with the snapshot export task.
- Task
Id string - The ID of the snapshot export task.
- Filters
List<Get
Snapshot Export Task Filter> - Timeouts
Get
Snapshot Export Task Timeouts
- Comment string
- If the snapshot export task fails, an error message appears.
- Dry
Run bool - Id string
- Osu
Exports []GetSnapshot Export Task Osu Export - Information about the snapshot export task.
- Progress float64
- The progress of the snapshot export task, as a percentage.
- Request
Id string - Snapshot
Id string - The ID of the snapshot to be exported.
- State string
- The state of the snapshot export task (
pending|active|completed|cancelled|failed). -
[]Get
Snapshot Export Task Tag - One or more tags associated with the snapshot export task.
- Task
Id string - The ID of the snapshot export task.
- Filters
[]Get
Snapshot Export Task Filter - Timeouts
Get
Snapshot Export Task Timeouts
- comment String
- If the snapshot export task fails, an error message appears.
- dry
Run Boolean - id String
- osu
Exports List<GetSnapshot Export Task Osu Export> - Information about the snapshot export task.
- progress Double
- The progress of the snapshot export task, as a percentage.
- request
Id String - snapshot
Id String - The ID of the snapshot to be exported.
- state String
- The state of the snapshot export task (
pending|active|completed|cancelled|failed). -
List<Get
Snapshot Export Task Tag> - One or more tags associated with the snapshot export task.
- task
Id String - The ID of the snapshot export task.
- filters
List<Get
Snapshot Export Task Filter> - timeouts
Get
Snapshot Export Task Timeouts
- comment string
- If the snapshot export task fails, an error message appears.
- dry
Run boolean - id string
- osu
Exports GetSnapshot Export Task Osu Export[] - Information about the snapshot export task.
- progress number
- The progress of the snapshot export task, as a percentage.
- request
Id string - snapshot
Id string - The ID of the snapshot to be exported.
- state string
- The state of the snapshot export task (
pending|active|completed|cancelled|failed). -
Get
Snapshot Export Task Tag[] - One or more tags associated with the snapshot export task.
- task
Id string - The ID of the snapshot export task.
- filters
Get
Snapshot Export Task Filter[] - timeouts
Get
Snapshot Export Task Timeouts
- comment str
- If the snapshot export task fails, an error message appears.
- dry_
run bool - id str
- osu_
exports Sequence[GetSnapshot Export Task Osu Export] - Information about the snapshot export task.
- progress float
- The progress of the snapshot export task, as a percentage.
- request_
id str - snapshot_
id str - The ID of the snapshot to be exported.
- state str
- The state of the snapshot export task (
pending|active|completed|cancelled|failed). -
Sequence[Get
Snapshot Export Task Tag] - One or more tags associated with the snapshot export task.
- task_
id str - The ID of the snapshot export task.
- filters
Sequence[Get
Snapshot Export Task Filter] - timeouts
Get
Snapshot Export Task Timeouts
- comment String
- If the snapshot export task fails, an error message appears.
- dry
Run Boolean - id String
- osu
Exports List<Property Map> - Information about the snapshot export task.
- progress Number
- The progress of the snapshot export task, as a percentage.
- request
Id String - snapshot
Id String - The ID of the snapshot to be exported.
- state String
- The state of the snapshot export task (
pending|active|completed|cancelled|failed). - List<Property Map>
- One or more tags associated with the snapshot export task.
- task
Id String - The ID of the snapshot export task.
- filters List<Property Map>
- timeouts Property Map
Supporting Types
GetSnapshotExportTaskFilter
GetSnapshotExportTaskOsuExport
- Disk
Image stringFormat - The format of the export disk (
qcow2|raw). - Osu
Bucket string - The name of the OOS bucket the snapshot is exported to.
- Osu
Prefix string - The prefix for the key of the OOS object corresponding to the snapshot.
- Disk
Image stringFormat - The format of the export disk (
qcow2|raw). - Osu
Bucket string - The name of the OOS bucket the snapshot is exported to.
- Osu
Prefix string - The prefix for the key of the OOS object corresponding to the snapshot.
- disk
Image StringFormat - The format of the export disk (
qcow2|raw). - osu
Bucket String - The name of the OOS bucket the snapshot is exported to.
- osu
Prefix String - The prefix for the key of the OOS object corresponding to the snapshot.
- disk
Image stringFormat - The format of the export disk (
qcow2|raw). - osu
Bucket string - The name of the OOS bucket the snapshot is exported to.
- osu
Prefix string - The prefix for the key of the OOS object corresponding to the snapshot.
- disk_
image_ strformat - The format of the export disk (
qcow2|raw). - osu_
bucket str - The name of the OOS bucket the snapshot is exported to.
- osu_
prefix str - The prefix for the key of the OOS object corresponding to the snapshot.
- disk
Image StringFormat - The format of the export disk (
qcow2|raw). - osu
Bucket String - The name of the OOS bucket the snapshot is exported to.
- osu
Prefix String - The prefix for the key of the OOS object corresponding to the snapshot.
GetSnapshotExportTaskTag
GetSnapshotExportTaskTimeouts
Package Details
- Repository
- outscale outscale/terraform-provider-outscale
- License
- Notes
- This Pulumi package is based on the
outscaleTerraform Provider.
Viewing docs for outscale 1.4.0
published on Tuesday, Feb 24, 2026 by outscale
published on Tuesday, Feb 24, 2026 by outscale
