Microsoft Azure VM Extensions API

The VMExtensions API from Microsoft Azure, for vmextensions.

GitHub OpenAPI
Business capability
IT Infrastructure Management BC-600.50

Operations 4

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

GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute.Admin/locations/{location}/artifactTypes/VMExtension/publishers/{publisher}/types/{type}/versions/{version} Get a VM extension image on Azure Stack Hub · Microsoft Azure Returns Requested Virtual Machine Extension Image #
Ask an LLM
“Is a specific VM extension image version available on my Azure Stack Hub?”
“Where can I see one VM extension image by publisher, type and version?”
Tell an agent
Get the VM extension image from {publisher} of type {type}, version {version}, in location {location}.
Show VM extension image {type} for this publisher and version.
PUT /subscriptions/{subscriptionId}/providers/Microsoft.Compute.Admin/locations/{location}/artifactTypes/VMExtension/publishers/{publisher}/types/{type}/versions/{version} Add a VM extension image to Azure Stack Hub · Microsoft Azure Create A Virtual Machine Extension Image #
Ask an LLM
“How do I upload a new VM extension image for tenants on Azure Stack Hub?”
“Can I publish a specific version of a VM extension as an operator?”
Tell an agent
Create VM extension image of type {type} with extension payload {extension}.
Add version {version} of {publisher} extension type {type} to the stamp at {location}.
DELETE /subscriptions/{subscriptionId}/providers/Microsoft.Compute.Admin/locations/{location}/artifactTypes/VMExtension/publishers/{publisher}/types/{type}/versions/{version} Delete a VM extension image from Azure Stack Hub · Microsoft Azure Deletes A Virtual Machine Extension Image #
Ask an LLM
“Can I remove an outdated VM extension image version?”
“What happens to tenants when I delete a VM extension image?”
Tell an agent destructive · confirm first
Delete VM extension image of type {type}.
Remove {publisher} extension image {type} version {version} from Azure Stack Hub location {location}.
GET /subscriptions/{subscriptionId}/providers/Microsoft.Compute.Admin/locations/{location}/artifactTypes/VMExtension List VM extension images on Azure Stack Hub · Microsoft Azure Returns A List Of All Virtual Machine Extension Images #
Ask an LLM
“Which VM extension images are available at my Azure Stack Hub location?”
“Can I see every extension image operators have added?”
Tell an agent
List all VM extension images for location {location}.
Show every VM extension image on the Azure Stack Hub stamp.

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-vmextensions-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-vmextensions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 2015-12-01-preview
  title: Microsoft Azure Compute Admin Client VM Extensions API
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: VMExtensions
paths:
  ? /subscriptions/{subscriptionId}/providers/Microsoft.Compute.Admin/locations/{location}/artifactTypes/VMExtension/publishers/{publisher}/types/{type}/versions/{version}
  : get:
      x-ms-examples:
        Returns requested Virtual Machine Extension Image.:
          $ref: examples/VMExtensions/Get.json
      tags:
      - VMExtensions
      summary: Microsoft Azure Returns Requested Virtual Machine Extension Image
      description: Returns requested Virtual Machine Extension Image matching publisher, type, version.
      operationId: microsoftAzureVmextensionsGet
      parameters:
      - $ref: Compute.json#/parameters/SubscriptionIdParameter
      - $ref: Compute.json#/parameters/LocationParameter
      - $ref: Compute.json#/parameters/PublisherParameter
      - $ref: '#/components/parameters/TypeParameter'
      - $ref: Compute.json#/parameters/VersionParameter
      - $ref: ../../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VMExtension'
        default:
          description: Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
          content:
            application/json:
              schema:
                $ref: Compute.json#/definitions/CrpErrorResponse
    put:
      x-ms-examples:
        Create a Virtual Machine Extension Image.:
          $ref: examples/VMExtensions/Create.json
      tags:
      - VMExtensions
      summary: Microsoft Azure Create A Virtual Machine Extension Image
      description: Create a Virtual Machine Extension Image with publisher, version.
      operationId: microsoftAzureVmextensionsCreate
      parameters:
      - $ref: Compute.json#/parameters/SubscriptionIdParameter
      - $ref: Compute.json#/parameters/LocationParameter
      - $ref: Compute.json#/parameters/PublisherParameter
      - $ref: '#/components/parameters/TypeParameter'
      - $ref: Compute.json#/parameters/VersionParameter
      - $ref: ../../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter
      - $ref: '#/components/parameters/VMExtensionParameter'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VMExtension'
        '201':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VMExtension'
        default:
          description: Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
          content:
            application/json:
              schema:
                $ref: Compute.json#/definitions/CrpErrorResponse
    delete:
      x-ms-examples:
        Delete a Virtual Machine Extension Image.:
          $ref: examples/VMExtensions/Delete.json
      tags:
      - VMExtensions
      summary: Microsoft Azure Deletes A Virtual Machine Extension Image
      description: Deletes specified Virtual Machine Extension Image.
      operationId: microsoftAzureVmextensionsDelete
      parameters:
      - $ref: Compute.json#/parameters/SubscriptionIdParameter
      - $ref: Compute.json#/parameters/LocationParameter
      - $ref: Compute.json#/parameters/PublisherParameter
      - $ref: '#/components/parameters/TypeParameter'
      - $ref: Compute.json#/parameters/VersionParameter
      - $ref: ../../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: OK
        default:
          description: Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
          content:
            application/json:
              schema:
                $ref: Compute.json#/definitions/CrpErrorResponse
  /subscriptions/{subscriptionId}/providers/Microsoft.Compute.Admin/locations/{location}/artifactTypes/VMExtension:
    get:
      x-ms-examples:
        Returns a list of all Virtual Machine Extension Image.:
          $ref: examples/VMExtensions/List.json
      tags:
      - VMExtensions
      summary: Microsoft Azure Returns A List Of All Virtual Machine Extension Images
      description: List of all Virtual Machine Extension Images for the current location are returned.
      operationId: microsoftAzureVmextensionsList
      parameters:
      - $ref: Compute.json#/parameters/SubscriptionIdParameter
      - $ref: Compute.json#/parameters/LocationParameter
      - $ref: ../../../../../../common-types/resource-management/v2/types.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/VMExtensionList'
        default:
          description: Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
          content:
            application/json:
              schema:
                $ref: Compute.json#/definitions/CrpErrorResponse
components:
  schemas:
    VMExtensionList:
      description: List of virtual machine extensions.
      type: array
      items:
        $ref: '#/components/schemas/VMExtension'
    VMExtensionProperties:
      description: Properties of a Virtual Machine Extension Image.
      type: object
      properties:
        vmOsType:
          description: Target virtual machine operating system type necessary for deploying the extension handler.
          $ref: PlatformImages.json#/definitions/OsType
        publisher:
          description: The publisher of the VM Extension
          type: string
        computeRole:
          description: Compute role
          type: string
        vmScaleSetEnabled:
          description: Value indicating whether the extension is enabled for virtual machine scale set support.
          type: boolean
        supportMultipleExtensions:
          description: True if supports multiple extensions.
          type: boolean
        isSystemExtension:
          description: Indicates if the extension is for the system.
          type: boolean
        sourceBlob:
          description: URI to Azure or AzureStack blob.
          $ref: '#/components/schemas/AzureBlob'
        provisioningState:
          description: Provisioning state of extension.
          $ref: Compute.json#/definitions/ProvisioningState
    AzureBlob:
      description: Azure or AzureStack blob information.
      type: object
      properties:
        uri:
          description: URI to Azure or AzureStack blob.
          type: string
    VMExtensionParameters:
      description: Parameters used to create a new Virtual Machine Extension Image.
      type: object
      properties:
        properties:
          description: Properties of a Virtual Machine Extension Image.
          x-ms-client-flatten: true
          $ref: '#/components/schemas/VMExtensionProperties'
    VMExtension:
      description: Virtual Machine Extension Image.
      type: object
      properties:
        properties:
          description: Inner properties of a Virtual Machine Extension Image.
          x-ms-client-flatten: true
          $ref: '#/components/schemas/VMExtensionProperties'
      allOf:
      - $ref: Compute.json#/definitions/CrpResource
  parameters:
    VMExtensionParameter:
      description: Virtual Machine Extension Image creation properties.
      name: extension
      in: body
      required: true
      schema:
        $ref: '#/components/schemas/VMExtensionParameters'
      x-ms-parameter-location: method
    TypeParameter:
      description: Type of extension.
      name: type
      in: path
      required: true
      x-ms-parameter-location: method
      schema:
        type: string
  securitySchemes:
    azure_auth:
      type: oauth2
      flows:
        implicit:
          scopes:
            user_impersonation: impersonate your user account
          authorizationUrl: https://login.microsoftonline.com/common/oauth2/authorize
      description: Authorization uses an Azure Active Directory OAuth2 flow.
x-provenance:
  method: harvested
  publisher: Microsoft Azure
  source: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/azsadmin/resource-manager/compute/Microsoft.Compute.Admin/preview/2015-12-01-preview/VMExtensions.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)