Microsoft Azure

Azure Labservices: Labs

REST API for managing Azure Lab Services labs.

Developer tools#openapi

Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.

Overview

REST API for managing Azure Lab Services labs.

Endpoints 8

Lab

  • GETGet all labs for a subscription./subscriptions/:subscriptionId/providers/Microsoft.LabServices/labs?$filter=stringReturns a list of all labs for a subscription.
  • GETGet all labs for a subscription and resource group./subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.LabServices/labsReturns a list of all labs in a resource group.
  • GETGet a lab resource./subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.LabServices/labs/:labNameReturns the properties of a lab resource.
  • PUTCreate or update a lab resource./subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.LabServices/labs/:labNameOperation to create or update a lab resource.
  • DELETEDeletes a lab resource./subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.LabServices/labs/:labNameOperation to delete a lab resource.
  • PATCHUpdate a lab resource./subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.LabServices/labs/:labNameOperation to update a lab resource.
  • POSTPublish or re-publish a lab./subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.LabServices/labs/:labName/publishPublish or re-publish a lab. This will create or update all lab resources, such as virtual machines.
  • POSTManually sync the lab group./subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.LabServices/labs/:labName/syncGroupAction used to manually kick off an AAD group sync job.

API details

Base URL
https://management.azure.com
Authentication
OAuth 2.0 (implicit flow) with 1 scope
Operations
8 operations on 5 pathsGET 3POST 2PUT 1PATCH 1DELETE 1
Main resources
Lab 8
Response formats
application/json
Description format
Swagger 2.0, API version 2023-06-07

How to test the Azure Labservices: Labs in Swastik Codes

  1. Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
  2. Fork it into your workspaceChoose a workspace. You get your own copy of the Azure Labservices: Labs collection, without the publisher's secrets.
  3. Add your credentialsThis API uses OAuth 2.0 (implicit flow) with 1 scope. Add yours in the collection's variables or an environment; the requests already reference it.
  4. Send a requestPick an endpoint, for example “Get all labs for a subscription.” (GET /subscriptions/:subscriptionId/providers/Microsoft.LabServices/labs?$filter=string), and press Send. Check the response, add tests and run the whole collection with the runner.

Frequently asked questions

What is the Azure Labservices: Labs?

REST API for managing Azure Lab Services labs. It is listed under Developer tools and has 8 endpoints.

Who publishes the Azure Labservices: Labs?

It is listed from Microsoft Azure's public API description (an OpenAPI document), not published by Microsoft Azure on Swastik Codes. Anyone who controls azure.com can claim the profile by adding a DNS TXT record.

What is the base URL of the Azure Labservices: Labs?

Requests go to https://management.azure.com. Endpoint paths are added to this base URL.

How do I authenticate with the Azure Labservices: Labs?

With OAuth 2.0 (implicit flow) with 1 scope.

How many endpoints does the Azure Labservices: Labs have?

8 operations on 5 paths (3 GET, 2 POST, 1 PUT, 1 PATCH, 1 DELETE). The largest groups are Lab.

Is forking the Azure Labservices: Labs free?

Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.

Suggest an API

Tell us which public API is missing. We check it, then add it here with its endpoints when it has an OpenAPI (Swagger) description.