Microsoft.LabServices (stable:2023-06-07)

2025/10/23 • 41 new, 41 deleted methods

Images_ListByLabPlan (new)
Description Gets all images from galleries attached to a lab plan.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labPlans/{labPlanName}/images
{}

⚐ Response (200)

{
value:
[
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
displayName: string ,
description: string ,
iconUrl: string ,
author: string ,
osType: enum ,
plan: string ,
termsStatus: enum ,
offer: string ,
publisher: string ,
sku: string ,
version: string ,
sharedGalleryId: string ,
availableRegions:
[
string ,
]
,
osState: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Images_Get (new)
Description Gets an image resource.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labPlans/{labPlanName}/images/{imageName}
{}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
displayName: string ,
description: string ,
iconUrl: string ,
author: string ,
osType: enum ,
plan: string ,
termsStatus: enum ,
offer: string ,
publisher: string ,
sku: string ,
version: string ,
sharedGalleryId: string ,
availableRegions:
[
string ,
]
,
osState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Images_CreateOrUpdate (new)
Description Updates an image resource via PUT. Creating new resources via PUT will not function.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labPlans/{labPlanName}/images/{imageName}
{
body:
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
displayName: string ,
description: string ,
iconUrl: string ,
author: string ,
osType: enum ,
plan: string ,
termsStatus: enum ,
offer: string ,
publisher: string ,
sku: string ,
version: string ,
sharedGalleryId: string ,
availableRegions:
[
string ,
]
,
osState: enum ,
}
,
}
,
}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
displayName: string ,
description: string ,
iconUrl: string ,
author: string ,
osType: enum ,
plan: string ,
termsStatus: enum ,
offer: string ,
publisher: string ,
sku: string ,
version: string ,
sharedGalleryId: string ,
availableRegions:
[
string ,
]
,
osState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Images_Update (new)
Description Updates an image resource.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labPlans/{labPlanName}/images/{imageName}
{
body:
{
properties:
{
enabledState: enum ,
}
,
}
,
}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
displayName: string ,
description: string ,
iconUrl: string ,
author: string ,
osType: enum ,
plan: string ,
termsStatus: enum ,
offer: string ,
publisher: string ,
sku: string ,
version: string ,
sharedGalleryId: string ,
availableRegions:
[
string ,
]
,
osState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
LabPlans_ListBySubscription (new)
Description Returns a list of all lab plans within a subscription
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.LabServices/labPlans
{}

⚐ Response (200)

{
value:
[
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
LabPlans_ListByResourceGroup (new)
Description Returns a list of all lab plans for a subscription and resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labPlans
{}

⚐ Response (200)

{
value:
[
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
LabPlans_Get (new)
Description Retrieves the properties of a Lab Plan.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labPlans/{labPlanName}
{}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
LabPlans_CreateOrUpdate (new)
Description Operation to create or update a Lab Plan resource.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labPlans/{labPlanName}
{
body:
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
}
,
}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
}

⚐ Response (201)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
}

⚐ Response (202)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
LabPlans_Update (new)
Description Operation to update a Lab Plan resource.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labPlans/{labPlanName}
{
body:
{
properties:
{
defaultConnectionProfile:
{
webSshAccess: enum ,
webRdpAccess: enum ,
clientSshAccess: enum ,
clientRdpAccess: enum ,
}
,
defaultAutoShutdownProfile:
{
shutdownOnDisconnect: enum ,
shutdownWhenNotConnected: enum ,
shutdownOnIdle: enum ,
disconnectDelay: string ,
noConnectDelay: string ,
idleDelay: string ,
}
,
defaultNetworkProfile:
{
subnetId: string ,
}
,
allowedRegions:
[
string ,
]
,
sharedGalleryId: string ,
supportInfo:
{
url: string ,
email: string ,
phone: string ,
instructions: string ,
}
,
linkedLmsInstance: string ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
}
,
}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
}

⚐ Response (202)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
LabPlans_Delete (new)
Description Operation to delete a Lab Plan resource. Deleting a lab plan does not delete labs associated with a lab plan, nor does it delete shared images added to a gallery via the lab plan permission container.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labPlans/{labPlanName}
{}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
LabPlans_SaveImage (new)
Description Saves an image from a lab VM to the attached shared image gallery.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labPlans/{labPlanName}/saveImage
{
body:
{
name: string ,
labVirtualMachineId: string ,
}
,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Operations_List (new)
Description Returns a list of all operations.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.LabServices/operations
{}

⚐ Response (200)

{
value:
[
{
name: string ,
isDataAction: boolean ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
origin: enum ,
actionType: enum ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Labs_ListBySubscription (new)
Description Returns a list of all labs for a subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.LabServices/labs
{}

⚐ Response (200)

{
value:
[
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
networkProfile:
{
subnetId: string ,
loadBalancerId: string ,
publicIpId: string ,
}
,
state: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Labs_ListByResourceGroup (new)
Description Returns a list of all labs in a resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs
{}

⚐ Response (200)

{
value:
[
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
networkProfile:
{
subnetId: string ,
loadBalancerId: string ,
publicIpId: string ,
}
,
state: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Labs_Get (new)
Description Returns the properties of a lab resource.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}
{}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
networkProfile:
{
subnetId: string ,
loadBalancerId: string ,
publicIpId: string ,
}
,
state: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Labs_CreateOrUpdate (new)
Description Operation to create or update a lab resource.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}
{
body:
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
networkProfile:
{
subnetId: string ,
loadBalancerId: string ,
publicIpId: string ,
}
,
state: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
}
,
}
,
}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
networkProfile:
{
subnetId: string ,
loadBalancerId: string ,
publicIpId: string ,
}
,
state: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
}
,
}

⚐ Response (201)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
networkProfile:
{
subnetId: string ,
loadBalancerId: string ,
publicIpId: string ,
}
,
state: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
}
,
}

⚐ Response (202)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
networkProfile:
{
subnetId: string ,
loadBalancerId: string ,
publicIpId: string ,
}
,
state: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Labs_Update (new)
Description Operation to update a lab resource.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}
{
body:
{
properties:
{
autoShutdownProfile:
{
shutdownOnDisconnect: enum ,
shutdownWhenNotConnected: enum ,
shutdownOnIdle: enum ,
disconnectDelay: string ,
noConnectDelay: string ,
idleDelay: string ,
}
,
connectionProfile:
{
webSshAccess: enum ,
webRdpAccess: enum ,
clientSshAccess: enum ,
clientRdpAccess: enum ,
}
,
virtualMachineProfile:
{
createOption: enum ,
imageReference:
{
id: string ,
offer: string ,
publisher: string ,
sku: string ,
version: string ,
exactVersion: string ,
}
,
osType: enum ,
sku:
{
name: string ,
tier: enum ,
size: string ,
family: string ,
capacity: integer ,
}
,
additionalCapabilities:
{
installGpuDrivers: enum ,
}
,
usageQuota: string ,
useSharedPassword: enum ,
adminUser:
{
username: string ,
password: string ,
}
,
nonAdminUser:
{
username: string ,
password: string ,
}
,
}
,
securityProfile:
{
registrationCode: string ,
openAccess: enum ,
}
,
rosterProfile:
{
activeDirectoryGroupId: string ,
ltiContextId: string ,
lmsInstance: string ,
ltiClientId: string ,
ltiRosterEndpoint: string ,
}
,
labPlanId: string ,
title: string ,
description: string ,
}
,
}
,
}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
networkProfile:
{
subnetId: string ,
loadBalancerId: string ,
publicIpId: string ,
}
,
state: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
}
,
}

⚐ Response (202)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
networkProfile:
{
subnetId: string ,
loadBalancerId: string ,
publicIpId: string ,
}
,
state: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Labs_Delete (new)
Description Operation to delete a lab resource.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}
{}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Labs_Publish (new)
Description Publish or re-publish a lab. This will create or update all lab resources, such as virtual machines.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/publish
{}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Labs_SyncGroup (new)
Description Action used to manually kick off an AAD group sync job.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/syncGroup
{}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
OperationResults_Get (new)
Description Returns an azure operation result.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.LabServices/operationResults/{operationResultId}
{}

⚐ Response (200)

{
id: string ,
name: string ,
status: enum ,
startTime: string ,
endTime: string ,
percentComplete: number ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Schedules_ListByLab (new)
Description Returns a list of all schedules for a lab.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/schedules
{}

⚐ Response (200)

{
value:
[
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Schedules_Get (new)
Description Returns the properties of a lab Schedule.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/schedules/{scheduleName}
{}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Schedules_CreateOrUpdate (new)
Description Operation to create or update a lab schedule.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/schedules/{scheduleName}
{
body:
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
}
,
}
,
}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
}
,
}

⚐ Response (201)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Schedules_Update (new)
Description Operation to update a lab schedule.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/schedules/{scheduleName}
{
body:
{
properties:
{
startAt: string ,
stopAt: string ,
recurrencePattern:
{
frequency: enum ,
weekDays:
[
string ,
]
,
interval: integer ,
expirationDate: string ,
}
,
timeZoneId: string ,
notes: string ,
}
,
}
,
}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Schedules_Delete (new)
Description Operation to delete a schedule resource.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/schedules/{scheduleName}
{}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Skus_List (new)
Description Returns a list of Azure Lab Services resource SKUs.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.LabServices/skus
{}

⚐ Response (200)

{
value:
[
{
resourceType: string ,
name: string ,
tier: enum ,
size: string ,
family: string ,
capacity:
{
default: integer ,
minimum: integer ,
maximum: integer ,
scaleType: enum ,
}
,
capabilities:
[
{
name: string ,
value: string ,
}
,
]
,
locations:
[
string ,
]
,
costs:
[
{
meterId: string ,
quantity: number ,
extendedUnit: string ,
}
,
]
,
restrictions:
[
{
type: enum ,
values:
[
string ,
]
,
reasonCode: enum ,
}
,
]
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Usages_ListByLocation (new)
Description Returns list of usage per SKU family for the specified subscription in the specified region.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.LabServices/locations/{location}/usages
{}

⚐ Response (200)

{
value:
[
{
currentValue: integer ,
limit: integer ,
unit: enum ,
name:
{
localizedValue: string ,
skuInstances:
[
string ,
]
,
value: string ,
}
,
id: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Users_ListByLab (new)
Description Returns a list of all users for a lab.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/users
{}

⚐ Response (200)

{
value:
[
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
displayName: string ,
email: string ,
registrationState: enum ,
invitationState: enum ,
invitationSent: string ,
totalUsage: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Users_Get (new)
Description Returns the properties of a lab user.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/users/{userName}
{}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
displayName: string ,
email: string ,
registrationState: enum ,
invitationState: enum ,
invitationSent: string ,
totalUsage: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Users_CreateOrUpdate (new)
Description Operation to create or update a lab user.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/users/{userName}
{
body:
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
displayName: string ,
email: string ,
registrationState: enum ,
invitationState: enum ,
invitationSent: string ,
totalUsage: string ,
}
,
}
,
}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
displayName: string ,
email: string ,
registrationState: enum ,
invitationState: enum ,
invitationSent: string ,
totalUsage: string ,
}
,
}

⚐ Response (201)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
displayName: string ,
email: string ,
registrationState: enum ,
invitationState: enum ,
invitationSent: string ,
totalUsage: string ,
}
,
}

⚐ Response (202)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
displayName: string ,
email: string ,
registrationState: enum ,
invitationState: enum ,
invitationSent: string ,
totalUsage: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Users_Update (new)
Description Operation to update a lab user.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/users/{userName}
{
body:
{
properties:
{
additionalUsageQuota: string ,
}
,
}
,
}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
displayName: string ,
email: string ,
registrationState: enum ,
invitationState: enum ,
invitationSent: string ,
totalUsage: string ,
}
,
}

⚐ Response (202)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
displayName: string ,
email: string ,
registrationState: enum ,
invitationState: enum ,
invitationSent: string ,
totalUsage: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Users_Delete (new)
Description Operation to delete a user resource.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/users/{userName}
{}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Users_Invite (new)
Description Operation to invite a user to a lab.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/users/{userName}/invite
{
body:
{
text: string ,
}
,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachines_ListByLab (new)
Description Returns a list of all virtual machines for a lab.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/virtualMachines
{}

⚐ Response (200)

{
value:
[
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
state: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
connectionProfile:
{
privateIpAddress: string ,
sshAuthority: string ,
sshInBrowserUrl: string ,
rdpAuthority: string ,
rdpInBrowserUrl: string ,
adminUsername: string ,
nonAdminUsername: string ,
}
,
claimedByUserId: string ,
vmType: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachines_Get (new)
Description Returns the properties for a lab virtual machine.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/virtualMachines/{virtualMachineName}
{}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
state: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
connectionProfile:
{
privateIpAddress: string ,
sshAuthority: string ,
sshInBrowserUrl: string ,
rdpAuthority: string ,
rdpInBrowserUrl: string ,
adminUsername: string ,
nonAdminUsername: string ,
}
,
claimedByUserId: string ,
vmType: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachines_Start (new)
Description Action to start a lab virtual machine.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/virtualMachines/{virtualMachineName}/start
{}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachines_Stop (new)
Description Action to stop a lab virtual machine.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/virtualMachines/{virtualMachineName}/stop
{}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachines_Reimage (new)
Description Re-image a lab virtual machine. The virtual machine will be deleted and recreated using the latest published snapshot of the reference environment of the lab.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/virtualMachines/{virtualMachineName}/reimage
{}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachines_Redeploy (new)
Description Action to redeploy a lab virtual machine to a different compute node. For troubleshooting connectivity.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/virtualMachines/{virtualMachineName}/redeploy
{}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachines_ResetPassword (new)
Description Resets a lab virtual machine password.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/virtualMachines/{virtualMachineName}/resetPassword
{
body:
{
username: string ,
password: string ,
}
,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Images_ListByLabPlan (removed)
Description Gets all images from galleries attached to a lab plan.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labPlans/{labPlanName}/images
{}

⚐ Response (200)

{
value:
[
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
displayName: string ,
description: string ,
iconUrl: string ,
author: string ,
osType: enum ,
plan: string ,
termsStatus: enum ,
offer: string ,
publisher: string ,
sku: string ,
version: string ,
sharedGalleryId: string ,
availableRegions:
[
string ,
]
,
osState: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Images_Get (removed)
Description Gets an image resource.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labPlans/{labPlanName}/images/{imageName}
{}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
displayName: string ,
description: string ,
iconUrl: string ,
author: string ,
osType: enum ,
plan: string ,
termsStatus: enum ,
offer: string ,
publisher: string ,
sku: string ,
version: string ,
sharedGalleryId: string ,
availableRegions:
[
string ,
]
,
osState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Images_CreateOrUpdate (removed)
Description Updates an image resource via PUT. Creating new resources via PUT will not function.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labPlans/{labPlanName}/images/{imageName}
{
body:
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
displayName: string ,
description: string ,
iconUrl: string ,
author: string ,
osType: enum ,
plan: string ,
termsStatus: enum ,
offer: string ,
publisher: string ,
sku: string ,
version: string ,
sharedGalleryId: string ,
availableRegions:
[
string ,
]
,
osState: enum ,
}
,
}
,
}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
displayName: string ,
description: string ,
iconUrl: string ,
author: string ,
osType: enum ,
plan: string ,
termsStatus: enum ,
offer: string ,
publisher: string ,
sku: string ,
version: string ,
sharedGalleryId: string ,
availableRegions:
[
string ,
]
,
osState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Images_Update (removed)
Description Updates an image resource.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labPlans/{labPlanName}/images/{imageName}
{
body:
{
properties:
{
enabledState: enum ,
}
,
}
,
}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
displayName: string ,
description: string ,
iconUrl: string ,
author: string ,
osType: enum ,
plan: string ,
termsStatus: enum ,
offer: string ,
publisher: string ,
sku: string ,
version: string ,
sharedGalleryId: string ,
availableRegions:
[
string ,
]
,
osState: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
LabPlans_ListBySubscription (removed)
Description Returns a list of all lab plans within a subscription
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.LabServices/labPlans
{}

⚐ Response (200)

{
value:
[
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
LabPlans_ListByResourceGroup (removed)
Description Returns a list of all lab plans for a subscription and resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labPlans
{}

⚐ Response (200)

{
value:
[
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
LabPlans_Get (removed)
Description Retrieves the properties of a Lab Plan.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labPlans/{labPlanName}
{}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
LabPlans_CreateOrUpdate (removed)
Description Operation to create or update a Lab Plan resource.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labPlans/{labPlanName}
{
body:
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
}
,
}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
}

⚐ Response (201)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
}

⚐ Response (202)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
LabPlans_Update (removed)
Description Operation to update a Lab Plan resource.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labPlans/{labPlanName}
{
body:
{
properties:
{
defaultConnectionProfile:
{
webSshAccess: enum ,
webRdpAccess: enum ,
clientSshAccess: enum ,
clientRdpAccess: enum ,
}
,
defaultAutoShutdownProfile:
{
shutdownOnDisconnect: enum ,
shutdownWhenNotConnected: enum ,
shutdownOnIdle: enum ,
disconnectDelay: string ,
noConnectDelay: string ,
idleDelay: string ,
}
,
defaultNetworkProfile:
{
subnetId: string ,
}
,
allowedRegions:
[
string ,
]
,
sharedGalleryId: string ,
supportInfo:
{
url: string ,
email: string ,
phone: string ,
instructions: string ,
}
,
linkedLmsInstance: string ,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
}
,
}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
}

⚐ Response (202)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
}
,
identity:
{
principalId: string ,
tenantId: string ,
type: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
LabPlans_Delete (removed)
Description Operation to delete a Lab Plan resource. Deleting a lab plan does not delete labs associated with a lab plan, nor does it delete shared images added to a gallery via the lab plan permission container.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labPlans/{labPlanName}
{}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
LabPlans_SaveImage (removed)
Description Saves an image from a lab VM to the attached shared image gallery.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labPlans/{labPlanName}/saveImage
{
body:
{
name: string ,
labVirtualMachineId: string ,
}
,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Operations_List (removed)
Description Returns a list of all operations.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.LabServices/operations
{}

⚐ Response (200)

{
value:
[
{
name: string ,
isDataAction: boolean ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
origin: enum ,
actionType: enum ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Labs_ListBySubscription (removed)
Description Returns a list of all labs for a subscription.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.LabServices/labs
{}

⚐ Response (200)

{
value:
[
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
networkProfile:
{
subnetId: string ,
loadBalancerId: string ,
publicIpId: string ,
}
,
state: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Labs_ListByResourceGroup (removed)
Description Returns a list of all labs in a resource group.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs
{}

⚐ Response (200)

{
value:
[
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
networkProfile:
{
subnetId: string ,
loadBalancerId: string ,
publicIpId: string ,
}
,
state: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Labs_Get (removed)
Description Returns the properties of a lab resource.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}
{}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
networkProfile:
{
subnetId: string ,
loadBalancerId: string ,
publicIpId: string ,
}
,
state: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Labs_CreateOrUpdate (removed)
Description Operation to create or update a lab resource.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}
{
body:
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
networkProfile:
{
subnetId: string ,
loadBalancerId: string ,
publicIpId: string ,
}
,
state: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
}
,
}
,
}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
networkProfile:
{
subnetId: string ,
loadBalancerId: string ,
publicIpId: string ,
}
,
state: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
}
,
}

⚐ Response (201)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
networkProfile:
{
subnetId: string ,
loadBalancerId: string ,
publicIpId: string ,
}
,
state: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
}
,
}

⚐ Response (202)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
networkProfile:
{
subnetId: string ,
loadBalancerId: string ,
publicIpId: string ,
}
,
state: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Labs_Update (removed)
Description Operation to update a lab resource.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}
{
body:
{
properties:
{
autoShutdownProfile:
{
shutdownOnDisconnect: enum ,
shutdownWhenNotConnected: enum ,
shutdownOnIdle: enum ,
disconnectDelay: string ,
noConnectDelay: string ,
idleDelay: string ,
}
,
connectionProfile:
{
webSshAccess: enum ,
webRdpAccess: enum ,
clientSshAccess: enum ,
clientRdpAccess: enum ,
}
,
virtualMachineProfile:
{
createOption: enum ,
imageReference:
{
id: string ,
offer: string ,
publisher: string ,
sku: string ,
version: string ,
exactVersion: string ,
}
,
osType: enum ,
sku:
{
name: string ,
tier: enum ,
size: string ,
family: string ,
capacity: integer ,
}
,
additionalCapabilities:
{
installGpuDrivers: enum ,
}
,
usageQuota: string ,
useSharedPassword: enum ,
adminUser:
{
username: string ,
password: string ,
}
,
nonAdminUser:
{
username: string ,
password: string ,
}
,
}
,
securityProfile:
{
registrationCode: string ,
openAccess: enum ,
}
,
rosterProfile:
{
activeDirectoryGroupId: string ,
ltiContextId: string ,
lmsInstance: string ,
ltiClientId: string ,
ltiRosterEndpoint: string ,
}
,
labPlanId: string ,
title: string ,
description: string ,
}
,
}
,
}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
networkProfile:
{
subnetId: string ,
loadBalancerId: string ,
publicIpId: string ,
}
,
state: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
}
,
}

⚐ Response (202)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
networkProfile:
{
subnetId: string ,
loadBalancerId: string ,
publicIpId: string ,
}
,
state: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Labs_Delete (removed)
Description Operation to delete a lab resource.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}
{}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Labs_Publish (removed)
Description Publish or re-publish a lab. This will create or update all lab resources, such as virtual machines.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/publish
{}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Labs_SyncGroup (removed)
Description Action used to manually kick off an AAD group sync job.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/syncGroup
{}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
OperationResults_Get (removed)
Description Returns an azure operation result.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.LabServices/operationResults/{operationResultId}
{}

⚐ Response (200)

{
id: string ,
name: string ,
status: enum ,
startTime: string ,
endTime: string ,
percentComplete: number ,
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Schedules_ListByLab (removed)
Description Returns a list of all schedules for a lab.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/schedules
{}

⚐ Response (200)

{
value:
[
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Schedules_Get (removed)
Description Returns the properties of a lab Schedule.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/schedules/{scheduleName}
{}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Schedules_CreateOrUpdate (removed)
Description Operation to create or update a lab schedule.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/schedules/{scheduleName}
{
body:
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
}
,
}
,
}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
}
,
}

⚐ Response (201)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Schedules_Update (removed)
Description Operation to update a lab schedule.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/schedules/{scheduleName}
{
body:
{
properties:
{
startAt: string ,
stopAt: string ,
recurrencePattern:
{
frequency: enum ,
weekDays:
[
string ,
]
,
interval: integer ,
expirationDate: string ,
}
,
timeZoneId: string ,
notes: string ,
}
,
}
,
}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Schedules_Delete (removed)
Description Operation to delete a schedule resource.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/schedules/{scheduleName}
{}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Skus_List (removed)
Description Returns a list of Azure Lab Services resource SKUs.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.LabServices/skus
{}

⚐ Response (200)

{
value:
[
{
resourceType: string ,
name: string ,
tier: enum ,
size: string ,
family: string ,
capacity:
{
default: integer ,
minimum: integer ,
maximum: integer ,
scaleType: enum ,
}
,
capabilities:
[
{
name: string ,
value: string ,
}
,
]
,
locations:
[
string ,
]
,
costs:
[
{
meterId: string ,
quantity: number ,
extendedUnit: string ,
}
,
]
,
restrictions:
[
{
type: enum ,
values:
[
string ,
]
,
reasonCode: enum ,
}
,
]
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Usages_ListByLocation (removed)
Description Returns list of usage per SKU family for the specified subscription in the specified region.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/providers/Microsoft.LabServices/locations/{location}/usages
{}

⚐ Response (200)

{
value:
[
{
currentValue: integer ,
limit: integer ,
unit: enum ,
name:
{
localizedValue: string ,
skuInstances:
[
string ,
]
,
value: string ,
}
,
id: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Users_ListByLab (removed)
Description Returns a list of all users for a lab.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/users
{}

⚐ Response (200)

{
value:
[
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
displayName: string ,
email: string ,
registrationState: enum ,
invitationState: enum ,
invitationSent: string ,
totalUsage: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Users_Get (removed)
Description Returns the properties of a lab user.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/users/{userName}
{}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
displayName: string ,
email: string ,
registrationState: enum ,
invitationState: enum ,
invitationSent: string ,
totalUsage: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Users_CreateOrUpdate (removed)
Description Operation to create or update a lab user.
Reference Link ¶

⚼ Request

PUT:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/users/{userName}
{
body:
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
displayName: string ,
email: string ,
registrationState: enum ,
invitationState: enum ,
invitationSent: string ,
totalUsage: string ,
}
,
}
,
}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
displayName: string ,
email: string ,
registrationState: enum ,
invitationState: enum ,
invitationSent: string ,
totalUsage: string ,
}
,
}

⚐ Response (201)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
displayName: string ,
email: string ,
registrationState: enum ,
invitationState: enum ,
invitationSent: string ,
totalUsage: string ,
}
,
}

⚐ Response (202)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
displayName: string ,
email: string ,
registrationState: enum ,
invitationState: enum ,
invitationSent: string ,
totalUsage: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Users_Update (removed)
Description Operation to update a lab user.
Reference Link ¶

⚼ Request

PATCH:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/users/{userName}
{
body:
{
properties:
{
additionalUsageQuota: string ,
}
,
}
,
}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
displayName: string ,
email: string ,
registrationState: enum ,
invitationState: enum ,
invitationSent: string ,
totalUsage: string ,
}
,
}

⚐ Response (202)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
displayName: string ,
email: string ,
registrationState: enum ,
invitationState: enum ,
invitationSent: string ,
totalUsage: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Users_Delete (removed)
Description Operation to delete a user resource.
Reference Link ¶

⚼ Request

DELETE:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/users/{userName}
{}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
Users_Invite (removed)
Description Operation to invite a user to a lab.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/users/{userName}/invite
{
body:
{
text: string ,
}
,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachines_ListByLab (removed)
Description Returns a list of all virtual machines for a lab.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/virtualMachines
{}

⚐ Response (200)

{
value:
[
{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
state: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
connectionProfile:
{
privateIpAddress: string ,
sshAuthority: string ,
sshInBrowserUrl: string ,
rdpAuthority: string ,
rdpInBrowserUrl: string ,
adminUsername: string ,
nonAdminUsername: string ,
}
,
claimedByUserId: string ,
vmType: enum ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachines_Get (removed)
Description Returns the properties for a lab virtual machine.
Reference Link ¶

⚼ Request

GET:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/virtualMachines/{virtualMachineName}
{}

⚐ Response (200)

{
systemData:
{
createdBy: string ,
createdByType: enum ,
createdAt: string ,
lastModifiedBy: string ,
lastModifiedByType: enum ,
lastModifiedAt: string ,
}
,
properties:
{
provisioningState: enum ,
state: enum ,
resourceOperationError:
{
timestamp: string ,
code: string ,
message: string ,
action: string ,
}
,
connectionProfile:
{
privateIpAddress: string ,
sshAuthority: string ,
sshInBrowserUrl: string ,
rdpAuthority: string ,
rdpInBrowserUrl: string ,
adminUsername: string ,
nonAdminUsername: string ,
}
,
claimedByUserId: string ,
vmType: enum ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachines_Start (removed)
Description Action to start a lab virtual machine.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/virtualMachines/{virtualMachineName}/start
{}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachines_Stop (removed)
Description Action to stop a lab virtual machine.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/virtualMachines/{virtualMachineName}/stop
{}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachines_Reimage (removed)
Description Re-image a lab virtual machine. The virtual machine will be deleted and recreated using the latest published snapshot of the reference environment of the lab.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/virtualMachines/{virtualMachineName}/reimage
{}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachines_Redeploy (removed)
Description Action to redeploy a lab virtual machine to a different compute node. For troubleshooting connectivity.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/virtualMachines/{virtualMachineName}/redeploy
{}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
VirtualMachines_ResetPassword (removed)
Description Resets a lab virtual machine password.
Reference Link ¶

⚼ Request

POST:  /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}/virtualMachines/{virtualMachineName}/resetPassword
{
body:
{
username: string ,
password: string ,
}
,
}

⚐ Response (200)

{}

⚐ Response (202)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}