machines_operations
Creates, updates, deletes, gets or lists a machines_operations resource.
Overview
| Name | machines_operations |
| Type | Resource |
| Id | azure.migration_assessment.machines_operations |
Fields
The following fields are returned by SELECT queries:
- get
- list_by_assessment_project
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long |
name | string | The name of the resource. |
bootType | string | Boot type of machine discovered in private data center. Known values are: "Unknown", "EFI", "BIOS", and "NotSpecified". |
createdTimestamp | string (date-time) | When was machine first created. |
datacenterManagementServerArmId | string | The data center management server ARM Id for the machine. |
datacenterManagementServerName | string | The data center management server name for the machine. |
description | string | Description for the machine. |
discoveryMachineArmId | string | Site id of machine discovered in private data center. |
disks | object | Disks attached to the machine discovered in private data center. |
displayName | string | Display Name of the Machine. |
errors | array | List of errors for this machine. |
groups | array | Gets the References to the groups that this machine is member of. |
hostProcessor | object | Gets Processor details of the host. |
megabytesOfMemory | number | Megabytes of memory found allocated for the machine in private data center. |
networkAdapters | object | Network adapters attached to the machine discovered in private data center. |
numberOfCores | integer | Number of CPU cores found on the machine. |
operatingSystemName | string | Operating system as reported by datacenter management solution. |
operatingSystemType | string | Operating system as reported by datacenter management solution. |
operatingSystemVersion | string | Operating system version as reported by datacenter management solution. |
productSupportStatus | object | Gets the product support status related details. |
sqlInstances | array | SQL instances discovered on the machine. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
updatedTimestamp | string (date-time) | When was machine last updated. |
webApplications | array | Web applications discovered on the machine. |
workloadSummary | object | Gets or sets workload summary. |
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. # pylint: disable=line-too-long |
name | string | The name of the resource. |
bootType | string | Boot type of machine discovered in private data center. Known values are: "Unknown", "EFI", "BIOS", and "NotSpecified". |
createdTimestamp | string (date-time) | When was machine first created. |
datacenterManagementServerArmId | string | The data center management server ARM Id for the machine. |
datacenterManagementServerName | string | The data center management server name for the machine. |
description | string | Description for the machine. |
discoveryMachineArmId | string | Site id of machine discovered in private data center. |
disks | object | Disks attached to the machine discovered in private data center. |
displayName | string | Display Name of the Machine. |
errors | array | List of errors for this machine. |
groups | array | Gets the References to the groups that this machine is member of. |
hostProcessor | object | Gets Processor details of the host. |
megabytesOfMemory | number | Megabytes of memory found allocated for the machine in private data center. |
networkAdapters | object | Network adapters attached to the machine discovered in private data center. |
numberOfCores | integer | Number of CPU cores found on the machine. |
operatingSystemName | string | Operating system as reported by datacenter management solution. |
operatingSystemType | string | Operating system as reported by datacenter management solution. |
operatingSystemVersion | string | Operating system version as reported by datacenter management solution. |
productSupportStatus | object | Gets the product support status related details. |
sqlInstances | array | SQL instances discovered on the machine. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
updatedTimestamp | string (date-time) | When was machine last updated. |
webApplications | array | Web applications discovered on the machine. |
workloadSummary | object | Gets or sets workload summary. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | resource_group_name, project_name, machine_name, subscription_id | Get a Machine. | |
list_by_assessment_project | select | resource_group_name, project_name, subscription_id | $filter, pageSize, continuationToken, totalRecordCount | List 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.
| Name | Datatype | Description |
|---|---|---|
machine_name | string | Assessible Machine ARM name. Required. |
project_name | string | Assessment Project Name. Required. |
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
subscription_id | string | |
$filter | string | Filter query. Default value is None. |
continuationToken | string | Optional parameter for continuation token. Default value is None. |
pageSize | integer | Optional parameter for page size. Default value is None. |
totalRecordCount | integer | Total record count. Default value is None. |
SELECT examples
- get
- list_by_assessment_project
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
;
List Machine resources by AssessmentProject.
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 subscription_id = '{{ subscription_id }}' -- required
AND $filter = '{{ $filter }}'
AND pageSize = '{{ pageSize }}'
AND continuationToken = '{{ continuationToken }}'
AND totalRecordCount = '{{ totalRecordCount }}'
;