vw_dedicated_hosts
Creates, updates, deletes, gets or lists a vw_dedicated_hosts
resource.
Overview
Name | vw_dedicated_hosts |
Type | View |
Id | azure.compute.vw_dedicated_hosts |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
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';
SELECT
id as id,
name as name,
location as location,
sku as sku,
type as type,
tags as tags,
json_extract_path_text(properties, '$.platformFaultDomain') as "platform_fault_domain",
json_extract_path_text(properties, '$.autoReplaceOnFailure') as "auto_replace_on_failure",
json_extract_path_text(properties, '$.hostId') as "host_id",
json_extract_path_text(properties, '$.virtualMachines') as "virtual_machines",
json_extract_path_text(properties, '$.licenseType') as "license_type",
json_extract_path_text(properties, '$.provisioningTime') as "provisioning_time",
json_extract_path_text(properties, '$.provisioningState') as "provisioning_state",
json_extract_path_text(properties, '$.instanceView') as "instance_view",
json_extract_path_text(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';