1. Packages
  2. Vra Provider
  3. API Docs
  4. getBlockDeviceSnapshots
vra 0.12.0 published on Monday, Apr 14, 2025 by vmware

vra.getBlockDeviceSnapshots

Explore with Pulumi AI

vra logo
vra 0.12.0 published on Monday, Apr 14, 2025 by vmware

    Using getBlockDeviceSnapshots

    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 getBlockDeviceSnapshots(args: GetBlockDeviceSnapshotsArgs, opts?: InvokeOptions): Promise<GetBlockDeviceSnapshotsResult>
    function getBlockDeviceSnapshotsOutput(args: GetBlockDeviceSnapshotsOutputArgs, opts?: InvokeOptions): Output<GetBlockDeviceSnapshotsResult>
    def get_block_device_snapshots(block_device_id: Optional[str] = None,
                                   id: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> GetBlockDeviceSnapshotsResult
    def get_block_device_snapshots_output(block_device_id: Optional[pulumi.Input[str]] = None,
                                   id: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[GetBlockDeviceSnapshotsResult]
    func GetBlockDeviceSnapshots(ctx *Context, args *GetBlockDeviceSnapshotsArgs, opts ...InvokeOption) (*GetBlockDeviceSnapshotsResult, error)
    func GetBlockDeviceSnapshotsOutput(ctx *Context, args *GetBlockDeviceSnapshotsOutputArgs, opts ...InvokeOption) GetBlockDeviceSnapshotsResultOutput

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

    public static class GetBlockDeviceSnapshots 
    {
        public static Task<GetBlockDeviceSnapshotsResult> InvokeAsync(GetBlockDeviceSnapshotsArgs args, InvokeOptions? opts = null)
        public static Output<GetBlockDeviceSnapshotsResult> Invoke(GetBlockDeviceSnapshotsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetBlockDeviceSnapshotsResult> getBlockDeviceSnapshots(GetBlockDeviceSnapshotsArgs args, InvokeOptions options)
    public static Output<GetBlockDeviceSnapshotsResult> getBlockDeviceSnapshots(GetBlockDeviceSnapshotsArgs args, InvokeOptions options)
    
    fn::invoke:
      function: vra:index/getBlockDeviceSnapshots:getBlockDeviceSnapshots
      arguments:
        # arguments dictionary

    The following arguments are supported:

    BlockDeviceId string
    Id string
    BlockDeviceId string
    Id string
    blockDeviceId String
    id String
    blockDeviceId string
    id string
    blockDeviceId String
    id String

    getBlockDeviceSnapshots Result

    The following output properties are available:

    Supporting Types

    GetBlockDeviceSnapshotsSnapshot

    createdAt String
    description String
    id String
    isCurrent Boolean
    links List<Property Map>
    name String
    orgId String
    owner String
    updatedAt String
    Href string
    Hrefs List<string>
    Rel string
    Href string
    Hrefs []string
    Rel string
    href String
    hrefs List<String>
    rel String
    href string
    hrefs string[]
    rel string
    href str
    hrefs Sequence[str]
    rel str
    href String
    hrefs List<String>
    rel String

    Package Details

    Repository
    vra vmware/terraform-provider-vra
    License
    Notes
    This Pulumi package is based on the vra Terraform Provider.
    vra logo
    vra 0.12.0 published on Monday, Apr 14, 2025 by vmware