1. Packages
  2. Azure Native v1
  3. API Docs
  4. labservices
  5. listGlobalUserLabs
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

azure-native.labservices.listGlobalUserLabs

Explore with Pulumi AI

These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi

List labs for the user. 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>
Copy
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]
Copy
func ListGlobalUserLabs(ctx *Context, args *ListGlobalUserLabsArgs, opts ...InvokeOption) (*ListGlobalUserLabsResult, error)
func ListGlobalUserLabsOutput(ctx *Context, args *ListGlobalUserLabsOutputArgs, opts ...InvokeOption) ListGlobalUserLabsResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<ListGlobalUserLabsResult> listGlobalUserLabs(ListGlobalUserLabsArgs args, InvokeOptions options)
public static Output<ListGlobalUserLabsResult> listGlobalUserLabs(ListGlobalUserLabsArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:labservices:listGlobalUserLabs
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

UserName
This property is required.
Changes to this property will trigger replacement.
string
The name of the user.
UserName
This property is required.
Changes to this property will trigger replacement.
string
The name of the user.
userName
This property is required.
Changes to this property will trigger replacement.
String
The name of the user.
userName
This property is required.
Changes to this property will trigger replacement.
string
The name of the user.
user_name
This property is required.
Changes to this property will trigger replacement.
str
The name of the user.
userName
This property is required.
Changes to this property will trigger replacement.
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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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-v1 pulumi/pulumi-azure-native
License
Apache-2.0
These are the docs for Azure Native v1. We recommenend using the latest version, Azure Native v2.
Azure Native v1 v1.104.0 published on Thursday, Jul 6, 2023 by Pulumi