Skip to main content

vw_dedicated_hosts

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

Overview

Namevw_dedicated_hosts
TypeView
Idazure.compute.vw_dedicated_hosts

Fields

See the SQL Definition (view DDL) for fields returned by this view.

SQL Definition

SELECT
id as id,
name as name,
location as location,
sku as sku,
type as type,
tags as tags,
JSON_EXTRACT(properties, '$.platformFaultDomain') as "platform_fault_domain",
JSON_EXTRACT(properties, '$.autoReplaceOnFailure') as "auto_replace_on_failure",
JSON_EXTRACT(properties, '$.hostId') as "host_id",
JSON_EXTRACT(properties, '$.virtualMachines') as "virtual_machines",
JSON_EXTRACT(properties, '$.licenseType') as "license_type",
JSON_EXTRACT(properties, '$.provisioningTime') as "provisioning_time",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.instanceView') as "instance_view",
JSON_EXTRACT(properties, '$.timeCreated') as "time_created",
subscriptionId,
resourceGroupName,
hostGroupName,
hostName
FROM azure.compute.dedicated_hosts
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND hostGroupName = 'replace-me';