Microsoft Azure Apply Updates API

The ApplyUpdates API from Microsoft Azure, for applyupdates.

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/applyUpdates/{applyUpdateName} Track maintenance updates on a child resource · Microsoft Azure Track Updates To Resource With Parent #
Ask an LLM
“How do I check maintenance update progress on a resource that sits under a parent resource?”
“Can I track an apply-update run for a nested resource like a VM scale set instance?”
Tell an agent
Track update {applyUpdateName} on {resourceType} {resourceName} under {resourceParentType} {resourceParentName}.
Get apply-update {applyUpdateName} for child {resourceName} of {resourceParentName} ({providerName}) in {resourceGroupName}, sub {subscriptionId}.
GET /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/{applyUpdateName} Track maintenance updates on a resource · Microsoft Azure Track Updates To Resource #
Ask an LLM
“How can I see whether pending maintenance was applied to a top-level resource?”
“What status does a specific maintenance apply-update have on my host?”
Tell an agent
Track update {applyUpdateName} on {resourceType} {resourceName}.
Get apply-update {applyUpdateName} for {providerName} resource {resourceName} in {resourceGroupName}, sub {subscriptionId}.
PUT /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/{applyUpdateName} Apply or cancel a named maintenance update · Microsoft Azure Apply Updates To Resource #
Ask an LLM
“Can I cancel a specific scheduled maintenance update on a resource?”
“How do I create or modify a named apply-update record for my resource?”
Tell an agent
Apply or cancel update {applyUpdateName} on {resourceType} {resourceName}.
Set named update {applyUpdateName} for {providerName} {resourceName} in {resourceGroupName}, sub {subscriptionId}.
PUT /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/default Apply pending maintenance to a child resource · Microsoft Azure Apply Updates To Resource With Parent #
Ask an LLM
“How do I push pending platform maintenance to a resource nested under a parent?”
“Can I trigger maintenance now for an instance inside a scale set?”
Tell an agent
Apply pending maintenance to {resourceType} {resourceName} under {resourceParentType} {resourceParentName}.
Apply updates now to child {resourceName} of {resourceParentName} ({providerName}) in {resourceGroupName}, sub {subscriptionId}.
PUT /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/default Apply pending maintenance to a resource · Microsoft Azure Apply Updates To Resource #
Ask an LLM
“How do I apply waiting maintenance to a dedicated host right away instead of waiting?”
“Can I self-trigger platform updates on a top-level resource?”
Tell an agent
Apply pending maintenance to {resourceType} {resourceName} now.
Apply default updates to {providerName} resource {resourceName} in {resourceGroupName}, sub {subscriptionId}.

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-applyupdates-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-applyupdates-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 2023-10-01-preview
  title: Microsoft Azure MaintenanceManagementClient Apply Updates…
  description: Azure Maintenance Management Client
servers:
- url: https://management.azure.com
tags:
- name: ApplyUpdates
paths:
  ? /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/{applyUpdateName}
  : get:
      tags:
      - ApplyUpdates
      summary: Microsoft Azure Track Updates To Resource With Parent
      description: Track maintenance updates to resource with parent
      operationId: microsoftAzureApplyupdatesGetparent
      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
      - name: applyUpdateName
        in: path
        description: applyUpdate Id
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApplyUpdate'
        default:
          description: BadRequest
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MaintenanceError'
      x-ms-examples:
        ApplyUpdates_GetParent:
          $ref: ./examples/ApplyUpdates_GetParent.json
  ? /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/{applyUpdateName}
  : get:
      tags:
      - ApplyUpdates
      summary: Microsoft Azure Track Updates To Resource
      description: Track maintenance updates to resource
      operationId: microsoftAzureApplyupdatesGet
      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
      - name: applyUpdateName
        in: path
        description: applyUpdate Id
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApplyUpdate'
        default:
          description: BadRequest
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MaintenanceError'
      x-ms-examples:
        ApplyUpdates_Get:
          $ref: ./examples/ApplyUpdates_Get.json
    put:
      tags:
      - ApplyUpdates
      summary: Microsoft Azure Apply Updates To Resource
      description: Apply maintenance updates to resource
      operationId: microsoftAzureApplyupdatesCreateorupdateorcancel
      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
      - name: applyUpdateName
        in: path
        description: ApplyUpdate name
        required: true
        schema:
          type: string
      - $ref: '#/components/parameters/ApiVersionParameter'
      responses:
        '200':
          description: ApplyUpdate update request accepted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApplyUpdate'
        '201':
          description: ApplyUpdate create request accepted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApplyUpdate'
        default:
          description: BadRequest
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MaintenanceError'
      x-ms-examples:
        ApplyUpdates_CreateOrUpdateOrCancel:
          $ref: ./examples/ApplyUpdates_CreateOrUpdate_CancelMaintenance.json
        ApplyUpdates_CreateOrUpdateOnly_NoCancellation:
          $ref: ./examples/ApplyUpdates_CreateOrUpdateOnly_NoCancellation.json
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ApplyUpdate'
        description: The ApplyUpdate
        required: true
  ? /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/default
  : put:
      tags:
      - ApplyUpdates
      summary: Microsoft Azure Apply Updates To Resource With Parent
      description: Apply maintenance updates to resource with parent
      operationId: microsoftAzureApplyupdatesCreateorupdateparent
      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: Apply-update update request accepted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApplyUpdate'
        '201':
          description: Apply-update create request accepted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApplyUpdate'
        default:
          description: BadRequest
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MaintenanceError'
      x-ms-examples:
        ApplyUpdates_CreateOrUpdateParent:
          $ref: ./examples/ApplyUpdates_CreateOrUpdateParent.json
  ? /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/default
  : put:
      tags:
      - ApplyUpdates
      summary: Microsoft Azure Apply Updates To Resource
      description: Apply maintenance updates to resource
      operationId: microsoftAzureApplyupdatesCreateorupdate
      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: ApplyUpdate update request accepted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApplyUpdate'
        '201':
          description: ApplyUpdate create request accepted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ApplyUpdate'
        default:
          description: BadRequest
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MaintenanceError'
      x-ms-examples:
        ApplyUpdates_CreateOrUpdate:
          $ref: ./examples/ApplyUpdates_CreateOrUpdate.json
components:
  schemas:
    ApplyUpdateProperties:
      description: Properties for apply update
      type: object
      properties:
        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.
        resourceId:
          description: The resourceId
          type: string
        lastUpdateTime:
          format: date-time
          description: Last Update time
          type: string
    ApplyUpdate:
      description: Apply Update request
      type: object
      allOf:
      - $ref: '#/components/schemas/Resource'
      properties:
        properties:
          $ref: '#/components/schemas/ApplyUpdateProperties'
          description: Properties of the apply update
          x-ms-client-flatten: true
    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
    MaintenanceError:
      description: An error response received from the Azure Maintenance service.
      type: object
      properties:
        error:
          $ref: '#/components/schemas/ErrorDetails'
          description: Details of the error
    Resource:
      description: Definition of a Resource
      type: object
      properties:
        id:
          description: Fully qualified identifier of the resource
          type: string
          readOnly: true
        name:
          description: Name of the resource
          type: string
          readOnly: true
        type:
          description: Type of the resource
          type: string
          readOnly: true
        systemData:
          readOnly: true
          type: object
          description: Azure Resource Manager metadata containing createdBy and modifiedBy information.
          $ref: ../../../../../common-types/resource-management/v2/types.json#/definitions/systemData
      x-ms-azure-resource: true
  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
  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