Azure/template-analyzer

Add support for the evaluate keyword

Ouverte

#92 ouverte le 19 avr. 2021

 (1 commentaire) (0 réaction) (0 personne assignée)C# (42 forks)auto 404
enhancementgood first issuerevisit

Métriques du dépôt

Stars
 (143 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

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`)
}

Guide contributeur