Mondoo Docs

Azure compute disk resource

azure.subscription.computeService.disk MQL resource for querying Azure infrastructure with cnquery and cnspec.

Azure

Azure compute disk resource

Use MQL in cnspec shell or policy:

azure.subscription.computeService.disk
Min version: latestDefaults: name location properties.osType properties.diskSizeGB properties.diskState

Relationships

Mini Map
Azure
3 resources · 6 relationshipsClick to select, expand fields to see properties.

Fields (10)

FieldTypeDescription
idrequired
stringDisk resource ID
locationrequired
stringDisk resource location
managedByrequired
stringA relative URI containing the ID of the VM that has the disk attached
managedByExtendedrequired
[]stringList of relative URIs containing the IDs of the VMs that have the disk attached
namerequired
stringDisk resource name
propertiesrequired
dictDisk resource properties
skurequired
dictThe disk SKU name and tier
tagsrequired
map[string]stringDisk resource tags
typerequired
stringDisk resource type
zonesrequired
[]stringThe logical zone list for disk