Skip to main content

vw_virtual_hard_disks

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

Overview

Namevw_virtual_hard_disks
TypeView
Idazure_stack.azure_stack_hci.vw_virtual_hard_disks

Fields

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

SQL Definition

SELECT
location as location,
extendedLocation as extended_location,
tags as tags,
JSON_EXTRACT(properties, '$.blockSizeBytes') as "block_size_bytes",
JSON_EXTRACT(properties, '$.diskSizeGB') as "disk_size_gb",
JSON_EXTRACT(properties, '$.dynamic') as "dynamic",
JSON_EXTRACT(properties, '$.logicalSectorBytes') as "logical_sector_bytes",
JSON_EXTRACT(properties, '$.physicalSectorBytes') as "physical_sector_bytes",
JSON_EXTRACT(properties, '$.hyperVGeneration') as "hyper_v_generation",
JSON_EXTRACT(properties, '$.diskFileFormat') as "disk_file_format",
JSON_EXTRACT(properties, '$.provisioningState') as "provisioning_state",
JSON_EXTRACT(properties, '$.containerId') as "container_id",
JSON_EXTRACT(properties, '$.status') as "status",
subscriptionId,
resourceGroupName,
virtualHardDiskName
FROM azure_stack.azure_stack_hci.virtual_hard_disks
WHERE subscriptionId = 'replace-me';