Skip to content

Commit 7ed9545

Browse files
authored
Merge pull request #102662 from DCtheGeek/dmc-policy-ghi47019
Fixes MicrosoftDocs/azure-docs#47019 - Add note about read-only properties returned
2 parents 4e2b4e1 + a1eff40 commit 7ed9545

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,12 @@ You use **displayName** and **description** to identify the policy definition an
218218
for when it's used. **displayName** has a maximum length of _128_ characters and **description**
219219
a maximum length of _512_ characters.
220220

221+
> [!NOTE]
222+
> During the creation or updating of a policy definition, **id**, **type**, and **name** are defined
223+
> by properties external to the JSON and aren't necessary in the JSON file. Fetching the policy
224+
> definition via SDK returns the **id**, **type**, and **name** properties as part of the JSON, but
225+
> each are read-only information related to the policy definition.
226+
221227
## Policy rule
222228

223229
The policy rule consists of **If** and **Then** blocks. In the **If** block, you define one or more

0 commit comments

Comments
 (0)