Skip to main content

hyperv_machines_controllers

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

Overview

Namehyperv_machines_controllers
TypeResource
Idazure.migrate.hyperv_machines_controllers

Fields

The following fields are returned by SELECT queries:

ARM operation completed successfully.

NameDatatypeDescription
propertiesobjectThe resource-specific properties for this resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectsubscriptionId, resourceGroupName, siteName, machineNameGet a HypervMachine
list_by_hyperv_siteselectsubscriptionId, resourceGroupName, siteNamefilter, top, continuationToken, totalRecordCountList HypervMachine resources by HypervSite
updateupdatesubscriptionId, resourceGroupName, siteName, machineNameUpdate a HypervMachine

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
machineNamestring HypervMachine name
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
siteNamestringSite name
subscriptionIdstringThe ID of the target subscription.
continuationTokenstringOptional parameter for continuation token.
filterstringfilter query
topinteger (int32)page size query
totalRecordCountinteger (int32)Total count of machines in the given site.

SELECT examples

Get a HypervMachine

SELECT
properties
FROM azure.migrate.hyperv_machines_controllers
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND siteName = '{{ siteName }}' -- required
AND machineName = '{{ machineName }}' -- required
;

UPDATE examples

Update a HypervMachine

UPDATE azure.migrate.hyperv_machines_controllers
SET
data__properties = '{{ properties }}'
WHERE
subscriptionId = '{{ subscriptionId }}' --required
AND resourceGroupName = '{{ resourceGroupName }}' --required
AND siteName = '{{ siteName }}' --required
AND machineName = '{{ machineName }}' --required
RETURNING
properties;