Azure Policy fields reference RRS feed

  • Question

  • Hi, 

    As I begin to write Azure policy JSON, I'm interested to know where I can find references to the list of fields that can be used and where appropriate their possible values. 

    For instance: 

    "policyRule": {
    "if": {
    "allOf": [
    "field": "type",
    "equals": "Microsoft.Network/networkInterfaces"
    "not": {
    "field": "Microsoft.Network/networkInterfaces/ipconfigurations[*].publicIpAddress.id",
    "exists": false

    If I want to find out what other properties are available under Network interfaces here:  "Microsoft.Network/networkInterfaces where could I find that reference? 



    Friday, March 1, 2019 11:52 AM


  • Hi , 

    Just to update, I found the answer. Get-AzPolicyAlias

    This powershell command will show all the namespaces and aliases that can be used for policies. Very useful. 

    There are other methods with az cli as well to get the same 



    • Marked as answer by londonguy123 Monday, March 4, 2019 9:26 AM
    Monday, March 4, 2019 9:26 AM