Microsoft Azure VM Collection Update API

The VMCollectionUpdate API from Microsoft Azure, for vmcollectionupdate.

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.Elastic/monitors/{monitorName}/vmCollectionUpdate Add or remove a VM from an Elastic monitor · Microsoft Azure Update The Vm Details That Will Be Monitored By The Elastic… #
Ask an LLM
“Can I choose which virtual machines an Elastic monitor collects data from?”
“Is there a way to stop monitoring a specific VM with an Elastic monitor?”
Tell an agent
Update the VM collection of Elastic monitor {monitorName} for VM {vmResourceId}.
Apply {operationName} for VM {vmResourceId} on monitor {monitorName}.

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-vmcollectionupdate-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-vmcollectionupdate-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure Microsoft.Elastic VM Collection Update API
  version: 2024-01-01-preview
servers:
- url: https://management.azure.com
tags:
- name: VMCollectionUpdate
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Elastic/monitors/{monitorName}/vmCollectionUpdate
  : post:
      tags:
      - VMCollectionUpdate
      summary: Microsoft Azure Update The Vm Details That Will Be Monitored By The Elastic…
      operationId: microsoftAzureVmcollectionUpdate
      parameters:
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ApiVersionParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/SubscriptionIdParameter
      - $ref: ../../../../../common-types/resource-management/v5/types.json#/parameters/ResourceGroupNameParameter
      - $ref: '#/components/parameters/MonitorNameParameter'
      responses:
        '200':
          description: Success
        default:
          description: Default error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResourceProviderDefaultErrorResponse'
      x-ms-examples:
        VMCollection_Update:
          $ref: ./examples/VMCollection_Update.json
      description: Needs a more full description created.
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/VMCollectionUpdate'
        description: VM resource Id
components:
  schemas:
    OperationName:
      enum:
      - Add
      - Delete
      type: string
      description: Operation to be performed on the given vm resource id.
      title: OperationName
      x-ms-enum:
        modelAsString: true
        name: OperationName
    ResourceProviderDefaultErrorResponse:
      description: RP default error response.
      type: object
      properties:
        error:
          description: Response body of Error
          readOnly: true
          $ref: '#/components/schemas/ErrorResponseBody'
    VMCollectionUpdate:
      description: Update VM resource collection.
      type: object
      x-ms-azure-resource: true
      properties:
        vmResourceId:
          description: ARM id of the VM resource.
          type: string
        operationName:
          description: Operation to be performed for given VM.
          $ref: '#/components/schemas/OperationName'
    ErrorResponseBody:
      description: Error response body.
      title: ErrorResponseBody
      type: object
      properties:
        code:
          description: Error code.
          type: string
        message:
          description: Error message.
          type: string
        target:
          description: Error target.
          type: string
        details:
          description: Error details.
          type: array
          x-ms-identifiers: []
          items:
            $ref: '#/components/schemas/ErrorResponseBody'
  parameters:
    MonitorNameParameter:
      in: path
      name: monitorName
      description: Monitor resource name
      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: Microsoft Entra ID OAuth2 Flow