Arm¶
SYNOPSIS¶
A raw ARM template expression, emitted verbatim, e.g. Arm "[field('location')]".
SYNTAX¶
Arm [-Text] <String> [<CommonParameters>]
DESCRIPTION¶
Use Arm where Bylaw has no keyword for an expression: as a value to compare with, a value to set in Modify, a list to count, or the subject of a value condition. The text is emitted exactly as written, so it must be a complete expression in square brackets.
USED IN¶
Anywhere in a Policy or Initiative, as a value
EXAMPLES¶
Example 1¶
Field location | Must -Be (Arm '[resourceGroup().location]')
Example 2¶
Count -Value (Param TagNames) -Name tagName | Must -Be (Arm "[length(parameters('tagNames'))]")
PARAMETERS¶
-Text¶
The expression, including its square brackets.
Type: String
Required: true
Position: 1
Accept pipeline input: false