rules/Azure.DataFactory.Rule.ps1

#
# Validation rules for Azure Data Factory
#

# Synopsis: Consider migrating to DataFactory v2
Rule 'Azure.DataFactory.Version' -Type 'Microsoft.DataFactory/datafactories', 'Microsoft.DataFactory/factories' -Tag @{ severity = 'Awareness'; category = 'Operations management' } {
    $TargetObject.ResourceType -eq 'Microsoft.DataFactory/factories'
}