Microsoft Azure Machines Operations API

The MachinesOperations API from Microsoft Azure, for machinesoperations.

GitHub OpenAPI
Business capability
IT Infrastructure Management BC-600.50

Operations 2

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/Microsoft.Migrate/assessmentProjects/{projectName}/machines List machines in a Migrate assessment project · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“Which discovered machines are in my Azure Migrate assessment project?”
“Can I filter or page the machine list of an assessment project?”
Tell an agent
List machines in assessment project {project}.
Show machines in assessment project {project} matching {filter}, {size} per page.
GET /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/machines/{machineName} Get a machine in an assessment project · Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups… #
Ask an LLM
“What does Azure Migrate know about one machine in my assessment project?”
“Can I look up a single assessed machine by name?”
Tell an agent
Get machine {machine} in assessment project {project}.
Show the Migrate details of machine {machine}.

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-machinesoperations-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-machinesoperations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Microsoft Azure Azure Migrate Assessment Service Machines…
  version: 2023-04-01-preview
  description: Azure Migrate Resource Provider management API.
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
servers:
- url: https://management.azure.com
security:
- azure_auth:
  - user_impersonation
tags:
- name: MachinesOperations
paths:
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/machines
  : get:
      operationId: microsoftAzureMachinesoperationsListbyassessmentproject
      tags:
      - MachinesOperations
      description: List Machine resources by AssessmentProject
      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
      - name: $filter
        in: query
        description: Filter query.
        required: false
        schema:
          type: string
      - name: pageSize
        in: query
        description: Optional parameter for page size.
        required: false
        schema:
          type: integer
          format: int32
      - name: continuationToken
        in: query
        description: Optional parameter for continuation token.
        required: false
        schema:
          type: string
      - name: totalRecordCount
        in: query
        description: Total record count.
        required: false
        schema:
          type: integer
          format: int32
      - name: projectName
        in: path
        description: Assessment Project Name
        required: true
        schema:
          type: string
          pattern: ^[^<>&:\?/#]{1,260}$
      responses:
        '200':
          description: ARM operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MachineListResult'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: ../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-pageable:
        nextLinkName: nextLink
      x-ms-examples:
        MachinesOperations_ListByAssessmentProject_MaximumSet_Gen:
          $ref: ./examples/MachinesOperations_ListByAssessmentProject_MaximumSet_Gen.json
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
  ? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/machines/{machineName}
  : get:
      operationId: microsoftAzureMachinesoperationsGet
      tags:
      - MachinesOperations
      description: Get a Machine
      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
      - name: projectName
        in: path
        description: Assessment Project Name
        required: true
        schema:
          type: string
          pattern: ^[^<>&:\?/#]{1,260}$
      - name: machineName
        in: path
        description: Assessible Machine ARM name
        required: true
        schema:
          type: string
          pattern: ^[^<>&:\?/#]{1,260}$
      responses:
        '200':
          description: ARM operation completed successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Machine'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: ../../../../../../common-types/resource-management/v5/types.json#/definitions/ErrorResponse
      x-ms-examples:
        MachinesOperations_Get_MaximumSet_Gen:
          $ref: ./examples/MachinesOperations_Get_MaximumSet_Gen.json
      summary: Microsoft Azure Get Subscriptions Subscriptionid Resourcegroups…
components:
  schemas:
    MachineProperties:
      type: object
      description: Properties of a machine.
      properties:
        workloadSummary:
          $ref: '#/components/schemas/WorkloadSummary'
          description: Gets or sets workload summary.
          readOnly: true
        errors:
          type: array
          description: List of errors for this machine.
          items:
            $ref: '#/components/schemas/Error'
          readOnly: true
          x-ms-identifiers: []
        hostProcessor:
          $ref: '#/components/schemas/ProcessorInfo'
          description: Gets Processor details of the host.
          readOnly: true
        productSupportStatus:
          $ref: '#/components/schemas/ProductSupportStatus'
          description: Gets the product support status related details.
          readOnly: true
        discoveryMachineArmId:
          type: string
          description: Site id of machine discovered in private data center.
          readOnly: true
        datacenterManagementServerArmId:
          type: string
          description: The data center management server ARM Id for the machine.
          readOnly: true
        datacenterManagementServerName:
          type: string
          description: The data center management server name for the machine.
          readOnly: true
        bootType:
          $ref: '#/components/schemas/MachineBootType'
          description: Boot type of machine discovered in private data center.
          readOnly: true
        displayName:
          type: string
          description: Display Name of the Machine.
          readOnly: true
        megabytesOfMemory:
          type: number
          format: float
          description: Megabytes of memory found allocated for the machine in private data center.
          readOnly: true
        numberOfCores:
          type: integer
          format: int32
          description: Number of CPU cores found on the machine.
          readOnly: true
        operatingSystemType:
          type: string
          description: Operating system as reported by datacenter management solution.
          readOnly: true
        operatingSystemName:
          type: string
          description: Operating system as reported by datacenter management solution.
          readOnly: true
        operatingSystemVersion:
          type: string
          description: Operating system version as reported by datacenter management solution.
          readOnly: true
        description:
          type: string
          description: Description for the machine.
          readOnly: true
        createdTimestamp:
          type: string
          format: date-time
          description: When was machine first created.
          readOnly: true
        disks:
          type: object
          description: Disks attached to the machine discovered in private data center.
          additionalProperties:
            $ref: '#/components/schemas/Disk'
          readOnly: true
        groups:
          type: array
          description: Gets the References to the groups that this machine is member of.
          items:
            type: string
          readOnly: true
        networkAdapters:
          type: object
          description: Network adapters attached to the machine discovered in private data center.
          additionalProperties:
            $ref: '#/components/schemas/NetworkAdapter'
          readOnly: true
        sqlInstances:
          type: array
          description: SQL instances discovered on the machine.
          items:
            type: string
          readOnly: true
        webApplications:
          type: array
          description: Web applications discovered on the machine.
          items:
            type: string
          readOnly: true
        updatedTimestamp:
          type: string
          format: date-time
          description: When was machine last updated.
          readOnly: true
    MachineBootType:
      type: string
      enum:
      - Unknown
      - EFI
      - BIOS
      - NotSpecified
      x-ms-enum:
        name: MachineBootType
        modelAsString: true
        values:
        - name: Unknown
          value: Unknown
        - name: EFI
          value: EFI
        - name: Bios
          value: BIOS
        - name: NotSpecified
          value: NotSpecified
    NetworkAdapter:
      type: object
      description: A network adapter discovered on a machine.
      properties:
        macAddress:
          type: string
          description: MAC Address of the network adapter.
          readOnly: true
        ipAddresses:
          type: array
          description: List of IP Addresses on the network adapter.
          items:
            type: string
          readOnly: true
        displayName:
          type: string
          description: User friendly name of the network adapter.
          readOnly: true
    Error:
      type: object
      description: Error web model class.
      properties:
        id:
          type: integer
          format: int32
          description: Gets the error ID.
          readOnly: true
        code:
          type: string
          description: Gets the error code.
          readOnly: true
        runAsAccountId:
          type: string
          description: Gets the Run as account ID.
          readOnly: true
        applianceName:
          type: string
          description: Gets the Appliance name.
          readOnly: true
        message:
          type: string
          description: Gets the error message.
          readOnly: true
        summaryMessage:
          type: string
          description: Gets the error summary message.
          readOnly: true
        agentScenario:
          type: string
          description: Gets the agent scenario where this error occurred.
          readOnly: true
        possibleCauses:
          type: string
          description: Gets the error possible causes.
          readOnly: true
        recommendedAction:
          type: string
          description: Gets the recommended action for the error.
          readOnly: true
        severity:
          type: string
          description: Gets the error severity.
          readOnly: true
        messageParameters:
          type: object
          description: Gets the error message parameters.
          additionalProperties:
            type: string
          readOnly: true
        updatedTimeStamp:
          type: string
          format: date-time
          description: Gets the time stamp when the error was updated.
          readOnly: true
        impactedAssessmentType:
          type: string
          description: Gets the type of assessment impacted by this error.
          readOnly: true
    Disk:
      type: object
      description: A disk discovered on a machine.
      properties:
        gigabytesAllocated:
          type: number
          format: float
          description: Gigabytes of storage provisioned for this disk.
          readOnly: true
        displayName:
          type: string
          description: User friendly name of the disk.
          readOnly: true
    WorkloadSummary:
      type: object
      description: Workload summary.
      properties:
        oracleInstances:
          type: integer
          format: int32
          description: Gets or sets oracle databases.
        springApps:
          type: integer
          format: int32
          description: Gets or sets oracle databases.
    ProductSupportStatus:
      type: object
      description: Class to represent the Product Support Status.
      properties:
        currentVersion:
          type: string
          description: Gets or sets current version of ServicePack.
          readOnly: true
        servicePackStatus:
          type: string
          description: Gets or sets ServicePack of the product.
          readOnly: true
        esuStatus:
          type: string
          description: Gets or sets the Extended Security Update ESU status.
          readOnly: true
        supportStatus:
          type: string
          description: Gets or sets the support status of the product.
          readOnly: true
        eta:
          type: integer
          format: int32
          description: Gets or sets the ETA.
          readOnly: true
        currentEsuYear:
          type: string
          description: Gets or sets the current ESU support year.
          readOnly: true
        mainstreamEndDate:
          type: string
          format: date-time
          description: Gets or sets the main stream end date of the product.
          readOnly: true
        extendedSupportEndDate:
          type: string
          format: date-time
          description: Gets or sets the extended support end date of the product.
          readOnly: true
        extendedSecurityUpdateYear1EndDate:
          type: string
          format: date-time
          description: Gets or sets the extended security update year 1 end date of the product.
          readOnly: true
        extendedSecurityUpdateYear2EndDate:
          type: string
          format: date-time
          description: Gets or sets the extended security update year 2 end date of the product.
          readOnly: true
        extendedSecurityUpdateYear3EndDate:
          type: string
          format: date-time
          description: Gets or sets the extended security update year 3 end date of the product.
          readOnly: true
    ProcessorInfo:
      type: object
      description: Represents a information \ details of a processor.
      properties:
        name:
          type: string
          description: Gets or sets the name \ model of a processor.
        numberOfSockets:
          type: integer
          format: int32
          description: Gets or sets the number of sockets.
        numberOfCoresPerSocket:
          type: integer
          format: int32
          description: Gets or sets the number of cores in a socket.
    Machine:
      type: object
      description: Machine resource.
      properties:
        properties:
          $ref: '#/components/schemas/MachineProperties'
          description: The resource-specific properties for this resource.
          x-ms-client-flatten: true
          x-ms-mutability:
          - read
          - create
      allOf:
      - $ref: ../../../../../../common-types/resource-management/v5/types.json#/definitions/ProxyResource
    MachineListResult:
      type: object
      description: The response of a Machine list operation.
      properties:
        value:
          type: array
          description: The Machine items on this page
          items:
            $ref: '#/components/schemas/Machine'
        nextLink:
          type: string
          format: uri
          description: The link to the next page of items
      required:
      - value
  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.