Exoscale v0.59.0 published on Monday, May 20, 2024 by Pulumiverse
exoscale.getBlockStorageVolumeSnapshot
Explore with Pulumi AI
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
Pulumiverse.
Exoscale. Inputs. Get Block Storage Volume Snapshot Timeouts
- Id string
- Snapshot ID to match.
- Zone string
- The Exoscale Zone name.
- Timeouts
Get
Block Storage Volume Snapshot Timeouts
- id String
- Snapshot ID to match.
- zone String
- The Exoscale Zone name.
- timeouts
Get
Block Storage Volume Snapshot Timeouts
- id string
- Snapshot ID to match.
- zone string
- The Exoscale Zone name.
- timeouts
Get
Block Storage Volume Snapshot Timeouts
- id str
- Snapshot ID to match.
- zone str
- The Exoscale Zone name.
- timeouts
Get
Block Storage Volume Snapshot Timeouts
- id String
- Snapshot ID to match.
- zone String
- The Exoscale Zone name.
- timeouts Property Map
getBlockStorageVolumeSnapshot Result
The following output properties are available:
- Created
At 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. Get Block Storage Volume Snapshot Volume - Block Storage Volume.
- Zone string
- The Exoscale Zone name.
- Timeouts
Pulumiverse.
Exoscale. Outputs. Get Block Storage Volume Snapshot Timeouts
- Created
At 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
Get
Block Storage Volume Snapshot Volume - Block Storage Volume.
- Zone string
- The Exoscale Zone name.
- Timeouts
Get
Block Storage Volume Snapshot Timeouts
- created
At 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
Get
Block Storage Volume Snapshot Volume - Block Storage Volume.
- zone String
- The Exoscale Zone name.
- timeouts
Get
Block Storage Volume Snapshot Timeouts
- created
At 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
Get
Block Storage Volume Snapshot Volume - Block Storage Volume.
- zone string
- The Exoscale Zone name.
- timeouts
Get
Block Storage Volume Snapshot Timeouts
- 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
Get
Block Storage Volume Snapshot Volume - Block Storage Volume.
- zone str
- The Exoscale Zone name.
- timeouts
Get
Block Storage Volume Snapshot Timeouts
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.