File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
docs/static/includes/interfaces/bicep Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 1- lock : 'CanNotDelete'
1+ lock : {
2+ kind : 'CanNotDelete'
3+ name : 'myCustomLockName'
4+ notes : 'This is a custom lock note.'
5+ }
Original file line number Diff line number Diff line change 1-
21// ============== //
32// Parameters //
43// ============== //
@@ -15,7 +14,9 @@ resource >singularMainResourceType<_lock 'Microsoft.Authorization/locks@2020-05-
1514 name : lock .?name ?? 'lock-${name }'
1615 properties : {
1716 level : lock .?kind ?? ''
18- notes : lock .?kind == 'CanNotDelete' ? 'Cannot delete resource or child resources.' : 'Cannot delete or modify the resource or child resources.'
17+ notes : lock .?notes ?? (lock .?kind == 'CanNotDelete'
18+ ? 'Cannot delete resource or child resources.'
19+ : 'Cannot delete or modify the resource or child resources.' )
1920 }
2021 scope : >singularMainResourceType <
2122}
You can’t perform that action at this time.
0 commit comments