Skip to main content

machines_operations

Creates, updates, deletes, gets or lists a machines_operations resource.

Overview

Namemachines_operations
TypeResource
Idazure.migration_assessment.machines_operations

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long
namestringThe name of the resource.
bootTypestringBoot type of machine discovered in private data center. Known values are: "Unknown", "EFI", "BIOS", and "NotSpecified".
createdTimestampstring (date-time)When was machine first created.
datacenterManagementServerArmIdstringThe data center management server ARM Id for the machine.
datacenterManagementServerNamestringThe data center management server name for the machine.
descriptionstringDescription for the machine.
discoveryMachineArmIdstringSite id of machine discovered in private data center.
disksobjectDisks attached to the machine discovered in private data center.
displayNamestringDisplay Name of the Machine.
errorsarrayList of errors for this machine.
groupsarrayGets the References to the groups that this machine is member of.
hostProcessorobjectGets Processor details of the host.
megabytesOfMemorynumberMegabytes of memory found allocated for the machine in private data center.
networkAdaptersobjectNetwork adapters attached to the machine discovered in private data center.
numberOfCoresintegerNumber of CPU cores found on the machine.
operatingSystemNamestringOperating system as reported by datacenter management solution.
operatingSystemTypestringOperating system as reported by datacenter management solution.
operatingSystemVersionstringOperating system version as reported by datacenter management solution.
productSupportStatusobjectGets the product support status related details.
sqlInstancesarraySQL instances discovered on the machine.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
updatedTimestampstring (date-time)When was machine last updated.
webApplicationsarrayWeb applications discovered on the machine.
workloadSummaryobjectGets or sets workload summary.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectresource_group_name, project_name, machine_name, subscription_idGet a Machine.
list_by_assessment_projectselectresource_group_name, project_name, subscription_id$filter, pageSize, continuationToken, totalRecordCountList Machine resources by AssessmentProject.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
machine_namestringAssessible Machine ARM name. Required.
project_namestringAssessment Project Name. Required.
resource_group_namestringThe name of the resource group. The name is case insensitive. Required.
subscription_idstring
$filterstringFilter query. Default value is None.
continuationTokenstringOptional parameter for continuation token. Default value is None.
pageSizeintegerOptional parameter for page size. Default value is None.
totalRecordCountintegerTotal record count. Default value is None.

SELECT examples

Get a Machine.

SELECT
id,
name,
bootType,
createdTimestamp,
datacenterManagementServerArmId,
datacenterManagementServerName,
description,
discoveryMachineArmId,
disks,
displayName,
errors,
groups,
hostProcessor,
megabytesOfMemory,
networkAdapters,
numberOfCores,
operatingSystemName,
operatingSystemType,
operatingSystemVersion,
productSupportStatus,
sqlInstances,
systemData,
type,
updatedTimestamp,
webApplications,
workloadSummary
FROM azure.migration_assessment.machines_operations
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND project_name = '{{ project_name }}' -- required
AND machine_name = '{{ machine_name }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;