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.diskMin version: latestDefaults:
name location properties.osType properties.diskSizeGB properties.diskStateRelationships
3 resources · 6 relationships·Click to select, expand fields to see properties.
Fields (10)
| Field | Type | Description |
|---|---|---|
idrequired | string | Disk resource ID |
locationrequired | string | Disk resource location |
managedByrequired | string | A relative URI containing the ID of the VM that has the disk attached |
managedByExtendedrequired | []string | List of relative URIs containing the IDs of the VMs that have the disk attached |
namerequired | string | Disk resource name |
propertiesrequired | dict | Disk resource properties |
skurequired | dict | The disk SKU name and tier |
tagsrequired | map[string]string | Disk resource tags |
typerequired | string | Disk resource type |
zonesrequired | []string | The logical zone list for disk |