Azure Migrate Machines Operations API
The MachinesOperations API from Azure Migrate — 2 operation(s) for machinesoperations.
The MachinesOperations API from Azure Migrate — 2 operation(s) for machinesoperations.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/microsoft-azure-migrate:microsoft-azure-migrate-machinesoperations-api"
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.
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: 3.2.0
info:
title: Azure Migrate Assessment Service Machines Operations API
version: '2024-01-15'
description: Azure Migrate Resource Provider management API.
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: MachinesOperations_ListByAssessmentProject
tags:
- MachinesOperations
description: List Machine resources by AssessmentProject
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/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: '#/components/schemas/ErrorResponse'
x-ms-pageable:
nextLinkName: nextLink
summary: Machines operations list by assessment project
x-summary-source: derived
? /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Migrate/assessmentProjects/{projectName}/machines/{machineName}
: get:
operationId: MachinesOperations_Get
tags:
- MachinesOperations
description: Get a Machine
parameters:
- $ref: '#/components/parameters/ApiVersionParameter'
- $ref: '#/components/parameters/SubscriptionIdParameter'
- $ref: '#/components/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: '#/components/schemas/ErrorResponse'
summary: Machines operations get
x-summary-source: derived
components:
schemas:
ErrorResponse:
type: object
title: Error response
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.).
properties:
error:
$ref: '#/components/schemas/ErrorDetail'
description: The error object.
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
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
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
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.
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
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.
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: '#/components/schemas/ProxyResource'
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
ErrorDetail:
type: object
description: Error Details
properties:
code:
type: string
description: Error Code
readOnly: true
message:
type: string
description: Description of the error occurred
readOnly: true
required:
- code
- message
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
ProxyResource:
type: object
title: Proxy Resource
description: The resource model definition for a Azure Resource Manager proxy resource. It will not have tags and a location
allOf:
- $ref: '#/components/schemas/Resource'
parameters:
ApiVersionParameter:
name: api-version
in: query
description: The API version to use for this operation.
required: true
schema:
type: string
minLength: 1
SubscriptionIdParameter:
name: subscriptionId
in: path
description: The ID of the target subscription. The value must be an UUID.
required: true
schema:
type: string
format: uuid
ResourceGroupNameParameter:
name: resourceGroupName
in: path
description: The name of the resource group. The name is case insensitive.
required: true
x-ms-parameter-location: method
schema:
type: string
maxLength: 90
minLength: 1
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.