last sync: 2024-Nov-25 18:54:24 UTC

Audit AHUB for eligible VMs

Azure Landing Zones (ALZ) Policy definition

Source Repository Azure Landing Zones (ALZ) GitHub
JSON Audit-AzureHybridBenefit
Deploy policy Audit-AzureHybridBenefit (1.0.0) to Azure
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 Path PathIsDefault 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
True
True
True


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
True
True
True


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
True
True
True


False
False
False
Microsoft.Compute/licenseType Microsoft.Compute
Microsoft.Compute
virtualMachines
virtualMachineScaleSets
properties.licenseType
properties.virtualMachineProfile.licenseType
True
True

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
Deploy policy Audit-AzureHybridBenefit (1.0.0) to Azure