1. Packages
  2. Azure Native
  3. API Docs
  4. devtestlab
  5. listLabVhds
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

azure-native.devtestlab.listLabVhds

Explore with Pulumi AI

azure-native logo
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi

    List disk images available for custom image creation. Azure REST API version: 2018-09-15.

    Other available API versions: 2015-05-21-preview, 2016-05-15.

    Using listLabVhds

    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 listLabVhds(args: ListLabVhdsArgs, opts?: InvokeOptions): Promise<ListLabVhdsResult>
    function listLabVhdsOutput(args: ListLabVhdsOutputArgs, opts?: InvokeOptions): Output<ListLabVhdsResult>
    def list_lab_vhds(name: Optional[str] = None,
                      resource_group_name: Optional[str] = None,
                      opts: Optional[InvokeOptions] = None) -> ListLabVhdsResult
    def list_lab_vhds_output(name: Optional[pulumi.Input[str]] = None,
                      resource_group_name: Optional[pulumi.Input[str]] = None,
                      opts: Optional[InvokeOptions] = None) -> Output[ListLabVhdsResult]
    func ListLabVhds(ctx *Context, args *ListLabVhdsArgs, opts ...InvokeOption) (*ListLabVhdsResult, error)
    func ListLabVhdsOutput(ctx *Context, args *ListLabVhdsOutputArgs, opts ...InvokeOption) ListLabVhdsResultOutput

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

    public static class ListLabVhds 
    {
        public static Task<ListLabVhdsResult> InvokeAsync(ListLabVhdsArgs args, InvokeOptions? opts = null)
        public static Output<ListLabVhdsResult> Invoke(ListLabVhdsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<ListLabVhdsResult> listLabVhds(ListLabVhdsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:devtestlab:listLabVhds
      arguments:
        # arguments dictionary

    The following arguments are supported:

    Name string
    The name of the lab.
    ResourceGroupName string
    The name of the resource group.
    Name string
    The name of the lab.
    ResourceGroupName string
    The name of the resource group.
    name String
    The name of the lab.
    resourceGroupName String
    The name of the resource group.
    name string
    The name of the lab.
    resourceGroupName string
    The name of the resource group.
    name str
    The name of the lab.
    resource_group_name str
    The name of the resource group.
    name String
    The name of the lab.
    resourceGroupName String
    The name of the resource group.

    listLabVhds Result

    The following output properties are available:

    NextLink string
    Link for next set of results.
    Value List<Pulumi.AzureNative.DevTestLab.Outputs.LabVhdResponse>
    Results of the list operation.
    NextLink string
    Link for next set of results.
    Value []LabVhdResponse
    Results of the list operation.
    nextLink String
    Link for next set of results.
    value List<LabVhdResponse>
    Results of the list operation.
    nextLink string
    Link for next set of results.
    value LabVhdResponse[]
    Results of the list operation.
    next_link str
    Link for next set of results.
    value Sequence[LabVhdResponse]
    Results of the list operation.
    nextLink String
    Link for next set of results.
    value List<Property Map>
    Results of the list operation.

    Supporting Types

    LabVhdResponse

    Id string
    The URI to the VHD.
    Id string
    The URI to the VHD.
    id String
    The URI to the VHD.
    id string
    The URI to the VHD.
    id str
    The URI to the VHD.
    id String
    The URI to the VHD.

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
    Azure Native v2.63.0 published on Tuesday, Sep 24, 2024 by Pulumi