Microsoft Azure Updates API

The Updates API from Microsoft Azure, for updates.

GitHub OpenAPI

Operations 5

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}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/updates List maintenance updates for a child resource · Microsoft Azure Get Updates To Resource #
Ask an LLM
“Which pending maintenance updates apply to a resource nested under a parent resource?”
“Can I check maintenance updates for a child resource like a VM scale set instance?”
Tell an agent
List updates for {resourceType} {resourceName} under {resourceParentType} {resourceParentName} ({providerName}) in group {resourceGroupName}.
Show pending updates for child resource {resourceName} under parent {resourceParentName} in subscription {subscriptionId}.
GET /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/updates List maintenance updates for a top-level resource · Microsoft Azure Get Updates To Resource #
Ask an LLM
“Which maintenance updates are pending for a top-level resource such as a dedicated host?”
“Can I see maintenance updates for a resource that has no parent resource?”
Tell an agent
List maintenance updates for top-level {resourceType} {resourceName} of provider {providerName} in resource group {resourceGroupName}.
Show pending maintenance on standalone resource {resourceName} in subscription {subscriptionId}.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Update.Admin/updateLocations/{updateLocation}/updates List Azure Stack updates at an update location · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Which Azure Stack Hub updates are available at my update location?”
“Can I see every update an Azure Stack admin can apply?”
Tell an agent
List the Azure Stack updates available at update location {updateLocation}.
Show all admin updates for my Azure Stack region.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Update.Admin/updateLocations/{updateLocation}/updates/{updateName} Get one Azure Stack update · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“What are the details and state of a specific Azure Stack update?”
“Can I check one update's version and prerequisites before applying it?”
Tell an agent
Get the details of Azure Stack update {updateName} at update location {updateLocation}.
Show the state of Azure Stack admin update {updateName}.
POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Update.Admin/updateLocations/{updateLocation}/updates/{updateName}/Apply Apply an Azure Stack update · Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“How do I install an Azure Stack Hub update at an update location?”
“Can I start applying a specific admin update to my Azure Stack region?”
Tell an agent
Apply Azure Stack update {updateName} at update location {updateLocation}.
Start installing Azure Stack admin update {updateName}.

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-updates-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-updates-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 2023-10-01-preview
  title: Microsoft Azure MaintenanceManagementClient Updates API
  description: Azure Maintenance Management Client
servers:
- url: https://management.azure.com
tags:
- name: Updates
paths:
  ? /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/updates
  : get:
      tags:
      - Updates
      summary: Microsoft Azure Get Updates To Resource
      description: Get updates to resources.
      operationId: microsoftAzureUpdatesListparent
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - name: resourceGroupName
        in: path
        description: Resource group name
        required: true
        schema:
          type: string
      - name: providerName
        in: path
        description: Resource provider name
        required: true
        schema:
          type: string
      - name: resourceParentType
        in: path
        description: Resource parent type
        required: true
        schema:
          type: string
      - name: resourceParentName
        in: path
        description: Resource parent identifier
        required: true
        schema:
          type: string
      - name: resourceType
        in: path
        description: Resource type
        required: true
        schema:
          type: string
      - name: resourceName
        in: path
        description: Resource identifier
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListUpdatesResult'
        default:
          description: BadRequest
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MaintenanceError'
      x-ms-pageable:
        nextLinkName: null
      x-ms-examples:
        Updates_ListParent:
          $ref: ./examples/Updates_ListParent.json
  ? /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/updates
  : get:
      tags:
      - Updates
      summary: Microsoft Azure Get Updates To Resource
      description: Get updates to resources.
      operationId: microsoftAzureUpdatesList
      parameters:
      - $ref: '#/components/parameters/SubscriptionIdParameter'
      - name: resourceGroupName
        in: path
        description: Resource group name
        required: true
        schema:
          type: string
      - name: providerName
        in: path
        description: Resource provider name
        required: true
        schema:
          type: string
      - name: resourceType
        in: path
        description: Resource type
        required: true
        schema:
          type: string
      - name: resourceName
        in: path
        description: Resource identifier
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListUpdatesResult'
        default:
          description: BadRequest
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MaintenanceError'
      x-ms-pageable:
        nextLinkName: null
      x-ms-examples:
        Updates_List:
          $ref: ./examples/Updates_List.json
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Update.Admin/updateLocations/{updateLocation}/updates
  : get:
      x-ms-examples:
        Get the list of updates at an update locations.:
          $ref: ./examples/Updates/List.json
      tags:
      - Updates
      description: Get the list of update locations
      operationId: microsoftAzureUpdatesList
      parameters:
      - $ref: Update.json#/parameters/SubscriptionIdParameter
      - $ref: Update.json#/parameters/ResourceGroupParameter
      - $ref: UpdateLocations.json#/parameters/UpdateLocationParameter
      - $ref: Update.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UpdateList'
      x-ms-pageable:
        nextLinkName: nextLink
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Update.Admin/updateLocations/{updateLocation}/updates/{updateName}
  : get:
      x-ms-examples:
        Get a specific update at an update location.:
          $ref: ./examples/Updates/Get.json
      tags:
      - Updates
      description: Get a specific update at an update location.
      operationId: microsoftAzureUpdatesGet
      parameters:
      - $ref: Update.json#/parameters/SubscriptionIdParameter
      - $ref: Update.json#/parameters/ResourceGroupParameter
      - $ref: UpdateLocations.json#/parameters/UpdateLocationParameter
      - $ref: Updates.json#/parameters/UpdateParameter
      - $ref: Update.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Update'
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Update.Admin/updateLocations/{updateLocation}/updates/{updateName}/Apply
  : post:
      x-ms-examples:
        Apply a specific update at an update location.:
          $ref: ./examples/Updates/Apply.json
      tags:
      - Updates
      description: Apply a specific update at an update location.
      operationId: microsoftAzureUpdatesApply
      parameters:
      - $ref: Update.json#/parameters/SubscriptionIdParameter
      - $ref: Update.json#/parameters/ResourceGroupParameter
      - $ref: UpdateLocations.json#/parameters/UpdateLocationParameter
      - $ref: Updates.json#/parameters/UpdateParameter
      - $ref: Update.json#/parameters/ApiVersionParameter
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: UpdateRuns.json#/definitions/UpdateRun
        '202':
          description: ACCEPTED
          content:
            application/json:
              schema:
                $ref: UpdateRuns.json#/definitions/UpdateRun
      x-ms-long-running-operation: true
      summary: Microsoft Azure Post Subscriptions Subscriptionid Resourcegroups…
components:
  parameters:
    SubscriptionIdParameter:
      name: subscriptionId
      in: path
      description: Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.
      required: true
      x-ms-parameter-location: client
      schema:
        type: string
    ApiVersionParameter:
      name: api-version
      in: query
      description: Version of the API to be used with the client request.
      required: true
      x-ms-parameter-location: client
      schema:
        type: string
  schemas:
    ErrorDetails:
      description: An error response details received from the Azure Maintenance service.
      type: object
      properties:
        code:
          description: Service-defined error code. This code serves as a sub-status for the HTTP error code specified in the response.
          type: string
        message:
          description: Human-readable representation of the error.
          type: string
    ListUpdatesResult:
      description: Response for Updates list
      type: object
      properties:
        value:
          description: The pending updates
          type: array
          items:
            $ref: '#/components/schemas/Update'
          x-ms-identifiers: []
    MaintenanceError:
      description: An error response received from the Azure Maintenance service.
      type: object
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetails'
          description: Details of the error
    Update:
      description: Maintenance update on a resource
      type: object
      properties:
        maintenanceScope:
          description: The impact area
          enum:
          - Host
          - Resource
          - OSImage
          - Extension
          - InGuestPatch
          - SQLDB
          - SQLManagedInstance
          type: string
          x-ms-enum:
            name: MaintenanceScope
            modelAsString: true
            values:
            - value: Host
              description: This maintenance scope controls installation of azure platform updates i.e. services on physical nodes hosting customer VMs.
            - value: Resource
              description: This maintenance scope controls the default update maintenance of the Azure Resource
            - value: OSImage
              description: This maintenance scope controls os image installation on VM/VMSS
            - value: Extension
              description: This maintenance scope controls extension installation on VM/VMSS
            - value: InGuestPatch
              description: This maintenance scope controls installation of windows and linux packages on VM/VMSS
            - value: SQLDB
              description: This maintenance scope controls installation of SQL server platform updates.
            - value: SQLManagedInstance
              description: This maintenance scope controls installation of SQL managed instance platform update.
        impactType:
          description: The impact type
          enum:
          - None
          - Freeze
          - Restart
          - Redeploy
          type: string
          x-ms-enum:
            name: ImpactType
            modelAsString: true
            values:
            - value: None
              description: Pending updates has no impact on resource.
            - value: Freeze
              description: Pending updates can freeze network or disk io operation on resource.
            - value: Restart
              description: Pending updates can cause resource to restart.
            - value: Redeploy
              description: Pending updates can redeploy resource.
        status:
          description: The status
          enum:
          - Pending
          - InProgress
          - Completed
          - RetryNow
          - RetryLater
          - NoUpdatesPending
          - Cancel
          - Cancelled
          type: string
          x-ms-enum:
            name: UpdateStatus
            modelAsString: true
            values:
            - value: Pending
              description: There are pending updates to be installed.
            - value: InProgress
              description: Updates installation are in progress.
            - value: Completed
              description: All updates are successfully applied.
            - value: RetryNow
              description: Updates installation failed but are ready to retry again.
            - value: RetryLater
              description: Updates installation failed and should be retried later.
            - value: NoUpdatesPending
              description: No updates are pending.
            - value: Cancel
              description: Cancel the schedule and stop creating PMR for resources part of it. Applicable to Maintenance Configuration resource type only.
            - value: Cancelled
              description: Send the Cancelled response to the user if request came to cancel the schedule. Applicable to Maintenance Configuration resource type only.
        impactDurationInSec:
          format: int32
          description: Duration of impact in seconds
          type: integer
        notBefore:
          format: date-time
          description: Time when Azure will start force updates if not self-updated by customer before this time
          type: string
        properties:
          $ref: '#/components/schemas/UpdateProperties'
          description: Properties of the apply update
          x-ms-client-flatten: true
    UpdateProperties:
      description: Properties for update
      type: object
      properties:
        resourceId:
          description: The resourceId
          type: string
    UpdateModel:
      description: Properties of an update.
      properties:
        installedDate:
          description: Date update was installed.
          type: string
          format: date-time
        description:
          description: Description of the update.
          type: string
        state:
          description: Current state of the update.
          $ref: '#/components/schemas/UpdateState'
        kbLink:
          description: Link to the KB article about the update.
          type: string
        minVersionRequired:
          description: The minimum version required to install.
          type: string
        minOemVersionRequired:
          description: The minimum OEM version required to install.
          type: string
        packagePath:
          description: Path to the update package.
          type: string
        packageSizeInMb:
          description: Size of update package.
          type: integer
          format: int64
        displayName:
          description: Name of the update.
          type: string
        version:
          description: Version of the update.
          type: string
        oemVersion:
          description: OEM version of the update.
          type: string
        publisher:
          description: Publisher of the update.
          type: string
    UpdateList:
      description: List of updates.
      type: object
      properties:
        value:
          description: List of updates.
          type: array
          items:
            $ref: '#/components/schemas/Update'
        nextLink:
          description: URI to the next page of updates.
          type: string
    UpdateState:
      description: State of the update.
      type: string
      enum:
      - HasPrerequisite
      - Obsolete
      - Ready
      - NotApplicableBecauseAnotherUpdateIsInProgress
      - Preparing
      - Installing
      - Installed
      - PreparationFailed
      - InstallationFailed
      x-ms-enum:
        name: UpdateState
        modelAsString: true
  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