1. Packages
  2. Exoscale
  3. API Docs
  4. getBlockStorageVolumeSnapshot
Exoscale v0.59.0 published on Monday, May 20, 2024 by Pulumiverse

exoscale.getBlockStorageVolumeSnapshot

Explore with Pulumi AI

exoscale logo
Exoscale v0.59.0 published on Monday, May 20, 2024 by Pulumiverse

    Fetch Exoscale Block Storage Snapshot.

    Block Storage offers persistent externally attached volumes for your workloads.

    Corresponding resource: exoscale_block_storage_snapshot.

    Using getBlockStorageVolumeSnapshot

    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 getBlockStorageVolumeSnapshot(args: GetBlockStorageVolumeSnapshotArgs, opts?: InvokeOptions): Promise<GetBlockStorageVolumeSnapshotResult>
    function getBlockStorageVolumeSnapshotOutput(args: GetBlockStorageVolumeSnapshotOutputArgs, opts?: InvokeOptions): Output<GetBlockStorageVolumeSnapshotResult>
    def get_block_storage_volume_snapshot(id: Optional[str] = None,
                                          timeouts: Optional[GetBlockStorageVolumeSnapshotTimeouts] = None,
                                          zone: Optional[str] = None,
                                          opts: Optional[InvokeOptions] = None) -> GetBlockStorageVolumeSnapshotResult
    def get_block_storage_volume_snapshot_output(id: Optional[pulumi.Input[str]] = None,
                                          timeouts: Optional[pulumi.Input[GetBlockStorageVolumeSnapshotTimeoutsArgs]] = None,
                                          zone: Optional[pulumi.Input[str]] = None,
                                          opts: Optional[InvokeOptions] = None) -> Output[GetBlockStorageVolumeSnapshotResult]
    func LookupBlockStorageVolumeSnapshot(ctx *Context, args *LookupBlockStorageVolumeSnapshotArgs, opts ...InvokeOption) (*LookupBlockStorageVolumeSnapshotResult, error)
    func LookupBlockStorageVolumeSnapshotOutput(ctx *Context, args *LookupBlockStorageVolumeSnapshotOutputArgs, opts ...InvokeOption) LookupBlockStorageVolumeSnapshotResultOutput

    > Note: This function is named LookupBlockStorageVolumeSnapshot in the Go SDK.

    public static class GetBlockStorageVolumeSnapshot 
    {
        public static Task<GetBlockStorageVolumeSnapshotResult> InvokeAsync(GetBlockStorageVolumeSnapshotArgs args, InvokeOptions? opts = null)
        public static Output<GetBlockStorageVolumeSnapshotResult> Invoke(GetBlockStorageVolumeSnapshotInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetBlockStorageVolumeSnapshotResult> getBlockStorageVolumeSnapshot(GetBlockStorageVolumeSnapshotArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: exoscale:index/getBlockStorageVolumeSnapshot:getBlockStorageVolumeSnapshot
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Id string
    Snapshot ID to match.
    Zone string
    The Exoscale Zone name.
    Timeouts GetBlockStorageVolumeSnapshotTimeouts
    id String
    Snapshot ID to match.
    zone String
    The Exoscale Zone name.
    timeouts GetBlockStorageVolumeSnapshotTimeouts
    id string
    Snapshot ID to match.
    zone string
    The Exoscale Zone name.
    timeouts GetBlockStorageVolumeSnapshotTimeouts
    id str
    Snapshot ID to match.
    zone str
    The Exoscale Zone name.
    timeouts GetBlockStorageVolumeSnapshotTimeouts
    id String
    Snapshot ID to match.
    zone String
    The Exoscale Zone name.
    timeouts Property Map

    getBlockStorageVolumeSnapshot Result

    The following output properties are available:

    CreatedAt string
    Snapshot creation date.
    Id string
    Snapshot ID to match.
    Labels Dictionary<string, string>
    Labels.
    Name string
    Snapshot name.
    Size int
    Snapshot size in GB.
    State string
    Snapshot state.
    Volume Pulumiverse.Exoscale.Outputs.GetBlockStorageVolumeSnapshotVolume
    Block Storage Volume.
    Zone string
    The Exoscale Zone name.
    Timeouts Pulumiverse.Exoscale.Outputs.GetBlockStorageVolumeSnapshotTimeouts
    CreatedAt string
    Snapshot creation date.
    Id string
    Snapshot ID to match.
    Labels map[string]string
    Labels.
    Name string
    Snapshot name.
    Size int
    Snapshot size in GB.
    State string
    Snapshot state.
    Volume GetBlockStorageVolumeSnapshotVolume
    Block Storage Volume.
    Zone string
    The Exoscale Zone name.
    Timeouts GetBlockStorageVolumeSnapshotTimeouts
    createdAt String
    Snapshot creation date.
    id String
    Snapshot ID to match.
    labels Map<String,String>
    Labels.
    name String
    Snapshot name.
    size Integer
    Snapshot size in GB.
    state String
    Snapshot state.
    volume GetBlockStorageVolumeSnapshotVolume
    Block Storage Volume.
    zone String
    The Exoscale Zone name.
    timeouts GetBlockStorageVolumeSnapshotTimeouts
    createdAt string
    Snapshot creation date.
    id string
    Snapshot ID to match.
    labels {[key: string]: string}
    Labels.
    name string
    Snapshot name.
    size number
    Snapshot size in GB.
    state string
    Snapshot state.
    volume GetBlockStorageVolumeSnapshotVolume
    Block Storage Volume.
    zone string
    The Exoscale Zone name.
    timeouts GetBlockStorageVolumeSnapshotTimeouts
    created_at str
    Snapshot creation date.
    id str
    Snapshot ID to match.
    labels Mapping[str, str]
    Labels.
    name str
    Snapshot name.
    size int
    Snapshot size in GB.
    state str
    Snapshot state.
    volume GetBlockStorageVolumeSnapshotVolume
    Block Storage Volume.
    zone str
    The Exoscale Zone name.
    timeouts GetBlockStorageVolumeSnapshotTimeouts
    createdAt String
    Snapshot creation date.
    id String
    Snapshot ID to match.
    labels Map<String>
    Labels.
    name String
    Snapshot name.
    size Number
    Snapshot size in GB.
    state String
    Snapshot state.
    volume Property Map
    Block Storage Volume.
    zone String
    The Exoscale Zone name.
    timeouts Property Map

    Supporting Types

    GetBlockStorageVolumeSnapshotTimeouts

    Read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    Read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    read String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    read string
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    read str
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.
    read String
    A string that can be parsed as a duration consisting of numbers and unit suffixes, such as "30s" or "2h45m". Valid time units are "s" (seconds), "m" (minutes), "h" (hours). Read operations occur during any refresh or planning operation when refresh is enabled.

    GetBlockStorageVolumeSnapshotVolume

    Id string
    Volume ID.
    Id string
    Volume ID.
    id String
    Volume ID.
    id string
    Volume ID.
    id str
    Volume ID.
    id String
    Volume ID.

    Package Details

    Repository
    exoscale pulumiverse/pulumi-exoscale
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the exoscale Terraform Provider.
    exoscale logo
    Exoscale v0.59.0 published on Monday, May 20, 2024 by Pulumiverse