Global Users - List Labs
List labs for the user.
POST https://management.azure.com/providers/Microsoft.LabServices/users/{userName}/listLabs?api-version=2018-10-15
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
user
|
path | True |
string |
The name of the user. |
api-version
|
query | True |
string |
Client API version. |
Responses
Name | Type | Description |
---|---|---|
200 OK |
OK |
|
Other Status Codes |
BadRequest |
Security
azure_auth
OAuth2 Implicit Grant
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | Access Microsoft Azure |
Definitions
Name | Description |
---|---|
Cloud |
Error from a REST request. |
Cloud |
Body of an error from a REST request. |
Lab |
This represents the details about a lab that the User is in, and its state. |
List |
Lists the labs owned by a user |
CloudError
Error from a REST request.
Name | Type | Description |
---|---|---|
error |
Body of an error from a REST request. |
CloudErrorBody
Body of an error from a REST request.
Name | Type | Description |
---|---|---|
code |
string |
|
details |
Inner errors. |
|
message |
string |
|
target |
string |
LabDetails
This represents the details about a lab that the User is in, and its state.
Name | Type | Description |
---|---|---|
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. |
ListLabsResponse
Lists the labs owned by a user
Name | Type | Description |
---|---|---|
labs |
List of all the labs |