hyperv_sites
Creates, updates, deletes, gets or lists a hyperv_sites
resource.
Overview
Name | hyperv_sites |
Type | Resource |
Id | azure.migrate.hyperv_sites |
Fields
The following fields are returned by SELECT
queries:
- list_by_resource_group
- list_by_subscription
ARM operation completed successfully.
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | The resource-specific properties for this resource. |
tags | object | Resource tags. |
ARM operation completed successfully.
Name | Datatype | Description |
---|---|---|
location | string | The geo-location where the resource lives |
properties | object | The resource-specific properties for this resource. |
tags | object | Resource tags. |
Methods
The following methods are available for this resource:
Name | Accessible by | Required Params | Optional Params | Description |
---|---|---|---|---|
list_by_resource_group | select | subscriptionId , resourceGroupName | Get all the hyperv sites in the subscription. | |
list_by_subscription | select | subscriptionId | Get 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.
Name | Datatype | Description |
---|---|---|
resourceGroupName | string | The name of the resource group. The name is case insensitive. |
subscriptionId | string | The ID of the target subscription. |
SELECT
examples
- list_by_resource_group
- list_by_subscription
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
;
Get all the hyperv sites in the subscription.
SELECT
location,
properties,
tags
FROM azure.migrate.hyperv_sites
WHERE subscriptionId = '{{ subscriptionId }}' -- required
;