Skip to main content

hyperv_sites

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

Overview

Namehyperv_sites
TypeResource
Idazure.migrate.hyperv_sites

Fields

The following fields are returned by SELECT queries:

ARM operation completed successfully.

NameDatatypeDescription
locationstringThe geo-location where the resource lives
propertiesobjectThe resource-specific properties for this resource.
tagsobjectResource tags.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_by_resource_groupselectsubscriptionId, resourceGroupNameGet all the hyperv sites in the subscription.
list_by_subscriptionselectsubscriptionIdGet all the hyperv sites in the subscription.

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
resourceGroupNamestringThe name of the resource group. The name is case insensitive.
subscriptionIdstringThe ID of the target subscription.

SELECT examples

Get all the hyperv sites in the subscription.

SELECT
location,
properties,
tags
FROM azure.migrate.hyperv_sites
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
;