Azure/template-analyzer

Add support for the evaluate keyword

オープン

#92 opened on 2021/04/19

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)C# (42 件のフォーク)auto 404
enhancementgood first issuerevisit

Repository metrics

Stars
 (143 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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

コントリビューターガイド