Azure/template-analyzer

Add support for the evaluate keyword

Offen

#92 geöffnet am 19.04.2021

 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)C# (42 Forks)auto 404
enhancementgood first issuerevisit

Repository-Metriken

Stars
 (143 Sterne)
PR-Merge-Metriken
 (PR-Metriken ausstehend)

Beschreibung

The evaluate keyword is to be combined with the where clause. This evaluates the condition encompassed against the scope specified in the where clause. See Evaluate documentation for more details

Example

{
    "evaluate": {
        "resourceType": "Microsoft.Compute/virtualMachines",
        "path": "properties.osProfile.adminPassword",
        "hasValue": false // Evaluates to `true`
    } // Evaluates to the same as the inner evaluation (`true`)
}

Contributor Guide