last sync: 2024-May-27 19:38:21 UTC

Audit AHUB for eligible VMs

Azure Landing Zones (ALZ) Policy definition

Source Repository Azure Landing Zones (ALZ) GitHub
JSON Audit-AzureHybridBenefit
Display name Audit AHUB for eligible VMs
Id Audit-AzureHybridBenefit
Version 1.0.0
Details on versioning
Category Cost Optimization
Description Optimize cost by enabling Azure Hybrid Benefit. Leverage this Policy definition as a cost control to reveal Virtual Machines not using AHUB.
Mode All
Type Custom Azure Landing Zones (ALZ)
Preview False
Deprecated False
Effect Default
Audit
Allowed
Audit, Disabled
RBAC role(s) none
Rule aliases IF (4)
Alias Namespace ResourceType DefaultPath Modifiable
Microsoft.Compute/imageOffer Microsoft.Compute
Microsoft.Compute
Microsoft.Compute
virtualMachines
virtualMachineScaleSets
disks
properties.storageProfile.imageReference.offer
properties.virtualMachineProfile.storageProfile.imageReference.offer
properties.creationData.imageReference.id
false
false
false
Microsoft.Compute/imagePublisher Microsoft.Compute
Microsoft.Compute
Microsoft.Compute
virtualMachines
virtualMachineScaleSets
disks
properties.storageProfile.imageReference.publisher
properties.virtualMachineProfile.storageProfile.imageReference.publisher
properties.creationData.imageReference.id
false
false
false
Microsoft.Compute/imageSKU Microsoft.Compute
Microsoft.Compute
Microsoft.Compute
virtualMachines
virtualMachineScaleSets
disks
properties.storageProfile.imageReference.sku
properties.virtualMachineProfile.storageProfile.imageReference.sku
properties.creationData.imageReference.id
false
false
false
Microsoft.Compute/licenseType Microsoft.Compute
Microsoft.Compute
virtualMachines
virtualMachineScaleSets
properties.licenseType
properties.virtualMachineProfile.licenseType
false
false
Rule resource types IF (2)
Microsoft.Compute/virtualMachines
Microsoft.Compute/virtualMachineScaleSets
Initiatives usage
Initiative DisplayName Initiative Id Initiative Category State
Unused resources driving cost should be avoided Audit-UnusedResourcesCostOptimization Cost Optimization GA
History
Date/Time (UTC ymd) (i) Change type Change detail
2023-07-25 17:56:05 add Audit-AzureHybridBenefit
JSON compare n/a
JSON
EPAC