Skip to content

Azure.AppService.IsLogicApp#

Single tenanted Logic Apps.

Description#

Use this selector to filter rules to only run against Logic Apps with the Standard SKU.

Examples#

Configure with YAML-based rules#

  • Use the with property to set PSRule.Rules.Azure\Azure.AppService.IsLogicApp.
---
# Synopsis: An example rule.
apiVersion: github.com/microsoft/PSRule/v1
kind: Rule
metadata:
  name: Local.MyRule
spec:
  with:
  - PSRule.Rules.Azure\Azure.AppService.IsLogicApp
  condition:
    # Rule logic goes here

Configure with JSON-based rules#

  • Use the with property to set PSRule.Rules.Azure\Azure.AppService.IsLogicApp.
{
    // Synopsis: An example rule.
    "apiVersion": "github.com/microsoft/PSRule/v1",
    "kind": "Rule",
    "metadata": {
        "name": "Local.MyRule"
    },
    "spec": {
        "with": [
            "PSRule.Rules.Azure\\Azure.AppService.IsLogicApp"
        ],
        "condition": {
            // Rule logic goes here
        }
    }
}

Configure with PowerShell-based rules#

  • Use the -With parameter to set PSRule.Rules.Azure\Azure.AppService.IsLogicApp.
# Synopsis: An example rule.
Rule 'Local.MyRule' -With 'PSRule.Rules.Azure\Azure.AppService.IsLogicApp' {
  # Rule logic goes here
}

Last update: 2022-05-26