Is there documentation regarding labaccounts api endpoints?

Kevin Ali 26 Reputation points
2022-10-24T20:43:07.01+00:00

I am looking for labaccounts endpoints. I was not able to find them on https://learn.microsoft.com/en-us/rest/api/resources/

Azure Lab Services
Azure Lab Services
An Azure service that is used to set up labs for classrooms, trials, development and testing, and other scenarios.
258 questions
0 comments No comments
{count} votes

Accepted answer
  1. Elizabeth Maher 251 Reputation points Microsoft Employee
    2022-10-28T16:58:25.127+00:00

    @Kevin Ali ,

    I'm not sure where the documentation for previous versions of the Lab Services Rest APIs (i.e., pre-August Update 2022 for Lab Services) reside. However, there are samples at the older GitHub location for Lab Services at https://github.com/Azure/azure-devtestlab/tree/master/samples/ClassroomLabs. It includes an SDK sample.

    The GitHub repo also has a preview version of the Lab Services PowerShell module. (Warning: I recommend only importing for current session as this version might cause confusion if you are using the lab plan-based PowerShell module also.) If you pass in a '--debug' to a PowerShell cmdlet you should be able to see the actual rest calls being made.

    Was there something in particular you were trying to accomplish? I'm familiar with both versions of the api and might be able to help you.

    Thanks,
    Elizabeth

    2 people found this answer helpful.

2 additional answers

Sort by: Most helpful
  1. Dillon Silzer 49,511 Reputation points
    2022-10-24T20:56:48.72+00:00

    Hi @Kevin Ali

    Is this what you are looking for? https://learn.microsoft.com/en-us/rest/api/labservices/

    Example:

    PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.LabServices/labs/{labName}?api-version=2022-08-01

    https://learn.microsoft.com/en-us/rest/api/labservices/labs/create-or-update?tabs=HTTP

    -----------------------------

    If this is helpful please accept answer.


  2. Kevin Ali 26 Reputation points
    2022-10-24T22:44:40.52+00:00

    I am also aware that lab plans has replaced lab accounts

    0 comments No comments