Skip to content

Commit 24a7e3f

Browse files
authored
Merge pull request #106654 from DCtheGeek/dmc-policy-templatefunctions
Clarify statement about template functions
2 parents e853a9e + bb6e1be commit 24a7e3f

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

articles/governance/policy/concepts/definition-structure.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -695,19 +695,19 @@ use within a policy rule, except the following functions and user-defined functi
695695
- resourceId()
696696
- variables()
697697

698-
The following functions are available to use in a policy rule, but differ from use in an Azure
698+
The following function is available to use in a policy rule, but differs from use in an Azure
699699
Resource Manager template:
700700

701-
- `addDays(dateTime, numberOfDaysToAdd)`
702-
- **dateTime**: [Required] string - String in the Universal ISO 8601 DateTime format
703-
'yyyy-MM-ddTHH:mm:ss.fffffffZ'
704-
- **numberOfDaysToAdd**: [Required] integer - Number of days to add
705701
- `utcNow()` - Unlike a Resource Manager template, this can be used outside defaultValue.
706702
- Returns a string that is set to the current date and time in Universal ISO 8601 DateTime format
707703
'yyyy-MM-ddTHH:mm:ss.fffffffZ'
708704

709705
The following functions are only available in policy rules:
710706

707+
- `addDays(dateTime, numberOfDaysToAdd)`
708+
- **dateTime**: [Required] string - String in the Universal ISO 8601 DateTime format
709+
'yyyy-MM-ddTHH:mm:ss.fffffffZ'
710+
- **numberOfDaysToAdd**: [Required] integer - Number of days to add
711711
- `field(fieldName)`
712712
- **fieldName**: [Required] string - Name of the [field](#fields) to retrieve
713713
- Returns the value of that field from the resource that is being evaluated by the If condition

0 commit comments

Comments
 (0)