Microsoft Azure Container Host Mappings API

The ContainerHostMappings API from Microsoft Azure, for containerhostmappings.

GitHub OpenAPI

Operations 1

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/locations/{location}/checkContainerHostMapping Find the Dev Spaces controller for a container host · Microsoft Azure Returns Container Host Mapping Object For A Container Host… #
Ask an LLM
“Is there a Dev Spaces controller already mapped to my container host?”
“How do I find which controller is associated with a container host resource ID?”
Tell an agent
Check the controller mapping for container host {host_id} in {location}, resource group {resource_group}, subscription {subscription}.
Look up the Dev Spaces controller mapped to container host {host_id} in {location}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/microsoft-azure:microsoft-azure-containerhostmappings-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

microsoft-azure-containerhostmappings-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: '2019-04-01'
  title: Microsoft Azure DevSpacesManagement Container Host Mappings…
  description: Dev Spaces REST API
servers:
- url: https://management.azure.com
tags:
- name: ContainerHostMappings
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DevSpaces/locations/{location}/checkContainerHostMapping
  : post:
      tags:
      - ContainerHostMappings
      summary: Microsoft Azure Returns Container Host Mapping Object For A Container Host…
      operationId: microsoftAzureContainerhostmappingsGetcontainerhostmapping
      parameters:
      - $ref: '#/components/parameters/ApiVersionParameter'
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - $ref: '#/components/parameters/ResourceGroupParameter'
      - name: location
        in: path
        description: Location of the container host.
        required: true
        schema:
          type: string
      responses:
        '200':
          description: The request was successful; response contains the container host mapping.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContainerHostMapping'
        '204':
          description: The request was successful; container host mapping does not exist.
        default:
          description: Error response describing the reason for operation failure. 400 - BadRequest(Invalid container host resource ID.)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DevSpacesErrorResponse'
      x-ms-examples:
        ContainerHostMappingsGetContainerHostMapping:
          $ref: ./examples/ContainerHostMappingsGetContainerHostMapping_example.json
      description: Needs a more full description created.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ContainerHostMapping'
        required: true
components:
  parameters:
    SubscriptionIdParameter:
      name: subscriptionId
      in: path
      description: Azure subscription ID.
      required: true
      schema:
        type: string
    ResourceGroupParameter:
      name: resourceGroupName
      in: path
      description: Resource group to which the resource belongs.
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
        maxLength: 90
        minLength: 1
    ApiVersionParameter:
      name: api-version
      in: query
      description: Client API version.
      required: true
      schema:
        type: string
  schemas:
    ContainerHostMapping:
      description: Container host mapping object specifying the Container host resource ID and its associated Controller resource.
      properties:
        containerHostResourceId:
          description: ARM ID of the Container Host resource
          type: string
        mappedControllerResourceId:
          description: ARM ID of the mapped Controller resource
          type: string
          readOnly: true
    ErrorDetails:
      properties:
        code:
          description: Status code for the error.
          type: string
          readOnly: true
        message:
          description: Error message describing the error in detail.
          type: string
          readOnly: true
        target:
          description: The target of the particular error.
          type: string
          readOnly: true
    DevSpacesErrorResponse:
      description: Error response indicates that the service is not able to process the incoming request. The reason is provided in the error message.
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetails'
          description: The details of the error.
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: Azure Active Directory OAuth2 Flow
x-provenance:
  method: harvested
  publisher: Microsoft Azure
  source: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/devspaces/resource-manager/Microsoft.DevSpaces/stable/2019-04-01/devspaces.json
  note: split by refine-openapis from the provider's own published document, verified by fetch (openapi/_original/*.fetch.json);
    stamped by stamp-openapi-provenance.py (roadmap#793)