Azure/template-analyzer

Add support for the evaluate keyword

Aberta

#92 aberto em 19 de abr. de 2021

 (1 comentário) (0 reação) (0 responsável)C# (42 forks)auto 404
enhancementgood first issuerevisit

Métricas do repositório

Stars
 (143 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

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

Guia do colaborador