Skip to content

Commit 9d59df8

Browse files
committed
update
1 parent b762c17 commit 9d59df8

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

articles/azure-resource-manager/bicep/linter-rule-use-parent-property.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ ms.date: 01/30/2023
77

88
# Linter rule - use parent property
99

10-
When defined outside of the parent resource, you format name of the child resource with slashes to include the parent name. Setting the full resource name isn't the recommended approach. The syntax can be simplified by using the parent property. For more information, see [Full resource name outside parent](./child-resource-name-type.md#full-resource-name-outside-parent).
10+
When defined outside of the parent resource, you format name of the child resource with slashes to include the parent name. Setting the full resource name isn't the recommended approach. The syntax can be simplified by using the `parent` property. For more information, see [Full resource name outside parent](./child-resource-name-type.md#full-resource-name-outside-parent).
1111

1212
## Linter rule code
1313

@@ -46,7 +46,7 @@ resource share 'Microsoft.Storage/storageAccounts/fileServices/shares@2021-02-01
4646
}
4747
```
4848

49-
You can fix the problem by using the parent property:
49+
You can fix the problem by using the `parent` property:
5050

5151
```bicep
5252
param location string = resourceGroup().location

articles/azure-resource-manager/bicep/toc.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,9 @@
458458
- name: Use explicit values for module location parameters
459459
displayName: linter
460460
href: linter-rule-explicit-values-for-loc-params.md
461+
- name: Use parent property
462+
displayName: linter
463+
href: linter-rule-use-parent-property
461464
- name: use recent API versions
462465
displayName: linter
463466
href: linter-rule-use-recent-api-versions.md

0 commit comments

Comments
 (0)