1. Packages
  2. Azure Native
  3. API Docs
  4. labservices
  5. listGlobalUserLabs
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.49.1 published on Tuesday, Jul 9, 2024 by Pulumi

azure-native.labservices.listGlobalUserLabs

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.49.1 published on Tuesday, Jul 9, 2024 by Pulumi

    List labs for the user. Azure REST API version: 2018-10-15.

    Using listGlobalUserLabs

    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 listGlobalUserLabs(args: ListGlobalUserLabsArgs, opts?: InvokeOptions): Promise<ListGlobalUserLabsResult>
    function listGlobalUserLabsOutput(args: ListGlobalUserLabsOutputArgs, opts?: InvokeOptions): Output<ListGlobalUserLabsResult>
    def list_global_user_labs(user_name: Optional[str] = None,
                              opts: Optional[InvokeOptions] = None) -> ListGlobalUserLabsResult
    def list_global_user_labs_output(user_name: Optional[pulumi.Input[str]] = None,
                              opts: Optional[InvokeOptions] = None) -> Output[ListGlobalUserLabsResult]
    func ListGlobalUserLabs(ctx *Context, args *ListGlobalUserLabsArgs, opts ...InvokeOption) (*ListGlobalUserLabsResult, error)
    func ListGlobalUserLabsOutput(ctx *Context, args *ListGlobalUserLabsOutputArgs, opts ...InvokeOption) ListGlobalUserLabsResultOutput

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

    public static class ListGlobalUserLabs 
    {
        public static Task<ListGlobalUserLabsResult> InvokeAsync(ListGlobalUserLabsArgs args, InvokeOptions? opts = null)
        public static Output<ListGlobalUserLabsResult> Invoke(ListGlobalUserLabsInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<ListGlobalUserLabsResult> listGlobalUserLabs(ListGlobalUserLabsArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:labservices:listGlobalUserLabs
      arguments:
        # arguments dictionary

    The following arguments are supported:

    UserName string
    The name of the user.
    UserName string
    The name of the user.
    userName String
    The name of the user.
    userName string
    The name of the user.
    user_name str
    The name of the user.
    userName String
    The name of the user.

    listGlobalUserLabs Result

    The following output properties are available:

    Labs []LabDetailsResponse
    List of all the labs
    labs List<LabDetailsResponse>
    List of all the labs
    labs LabDetailsResponse[]
    List of all the labs
    labs List<Property Map>
    List of all the labs

    Supporting Types

    LabDetailsResponse

    UsageQuota string
    The maximum duration a user can use a VM in this lab.
    Id string
    The Id of the lab.
    Name string
    Name of the lab
    ProvisioningState string
    The provisioning state of the lab.
    UsageQuota string
    The maximum duration a user can use a VM in this lab.
    Id string
    The Id of the lab.
    Name string
    Name of the lab
    ProvisioningState string
    The provisioning state of the lab.
    usageQuota String
    The maximum duration a user can use a VM in this lab.
    id String
    The Id of the lab.
    name String
    Name of the lab
    provisioningState String
    The provisioning state of the lab.
    usageQuota string
    The maximum duration a user can use a VM in this lab.
    id string
    The Id of the lab.
    name string
    Name of the lab
    provisioningState string
    The provisioning state of the lab.
    usage_quota str
    The maximum duration a user can use a VM in this lab.
    id str
    The Id of the lab.
    name str
    Name of the lab
    provisioning_state str
    The provisioning state of the lab.
    usageQuota String
    The maximum duration a user can use a VM in this lab.
    id String
    The Id of the lab.
    name String
    Name of the lab
    provisioningState String
    The provisioning state of the lab.

    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.49.1 published on Tuesday, Jul 9, 2024 by Pulumi