Skip to content

Commit d3b8084

Browse files
committed
updates3
1 parent 4bc2014 commit d3b8084

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

articles/azure-resource-manager/bicep/linter-rule-no-unused-existing-resources.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ resource stg 'Microsoft.Storage/storageAccounts@2023-05-01' existing = {
2828
}
2929
```
3030

31-
Use **Quick Fix** to remove the unused existing resource.
31+
Use **Quick Fix** to remove the unused existing resource:
3232

33-
:::image type="content" source="./media/linter-rule-no-unused-existing-resources/linter-rule-no-unused-existing-resources-quick-fix.png" alt-text="The screenshot of No unused existing resources linter rule Quick Fix.":::
33+
:::image type="content" source="./media/linter-rule-no-unused-existing-resources/linter-rule-no-unused-existing-resources-quick-fix.png" alt-text="A screenshot using Quick Fix for the no-unused-existing-resources linter rule":::
3434

3535
## Next steps
3636

articles/azure-resource-manager/bicep/linter-rule-no-unused-parameters.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ Use the following value in the [Bicep configuration file](bicep-config-linter.md
2020

2121
To reduce confusion in your template, delete any parameters that are defined but not used. This test finds all parameters that aren't used anywhere in the template. Eliminating unused parameters also makes it easier to deploy your template because you don't have to provide unnecessary values.
2222

23-
You can use **Quick Fix** to remove the unused parameters:
23+
Use **Quick Fix** to remove the unused parameters:
2424

25-
:::image type="content" source="./media/linter-rule-no-unused-parameters/linter-rule-no-unused-parameters-quick-fix.png" alt-text="The screenshot of No unused parameters linter rule Quick Fix.":::
25+
:::image type="content" source="./media/linter-rule-no-unused-parameters/linter-rule-no-unused-parameters-quick-fix.png" alt-text="A screenshot of using Quick Fix for the no-unused-parameters linter rule":::
2626

2727
## Next steps
2828

articles/azure-resource-manager/bicep/linter-rule-no-unused-variables.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ Use the following value in the [Bicep configuration file](bicep-config-linter.md
2020

2121
To reduce confusion in your template, delete any variables that are defined but not used. This test finds all variables that aren't used anywhere in the template.
2222

23-
You can use **Quick Fix** to remove the unused variables:
23+
Use **Quick Fix** to remove the unused variables:
2424

25-
:::image type="content" source="./media/linter-rule-no-unused-variables/linter-rule-no-unused-variables-quick-fix.png" alt-text="The screenshot of No unused variables linter rule Quick Fix.":::
25+
:::image type="content" source="./media/linter-rule-no-unused-variables/linter-rule-no-unused-variables-quick-fix.png" alt-text="A screenshot of using Quick Fix for the no-unused-variables linter rule":::
2626

2727
## Next steps
2828

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.date: 10/03/2024
88

99
# Linter rule - use parent property
1010

11-
When defined outside of the parent resource, you use slashes to include the parent name in the name of the child resource. Setting the full resource name with parent resource name isn't recommended. The `parent` property can be used to simplify the syntax. See [Full resource name outside parent](./child-resource-name-type.md#full-resource-name-outside-parent).
11+
When defined outside of the parent resource, you use slashes to include the parent name in the name of the child resource. Defining the full resource name with the parent resource name isn't recommended. The `parent` property can be used to simplify the syntax. See [Full resource name outside parent](./child-resource-name-type.md#full-resource-name-outside-parent).
1212

1313
## Linter rule code
1414

@@ -72,9 +72,9 @@ resource share 'Microsoft.Storage/storageAccounts/fileServices/shares@2023-05-01
7272
}
7373
```
7474

75-
You can fix the issue automatically by selecting **Quick Fix** as shown in the following screenshot:
75+
Use **Quick Fix** to simplify the syntax:
7676

77-
:::image type="content" source="./media/linter-rule-use-parent-property/bicep-linter-rule-use-parent-property-quick-fix.png" alt-text="Screenshot of use parent property Quick Fix.":::
77+
:::image type="content" source="./media/linter-rule-use-parent-property/bicep-linter-rule-use-parent-property-quick-fix.png" alt-text="A screenshot of using Quick Fix for the use-parent-property linter rule":::
7878

7979
## Next steps
8080

articles/azure-resource-manager/bicep/linter-rule-use-resource-symbol-reference.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ resource storageAccount 'Microsoft.Storage/storageAccounts@2023-05-01' existing
4141
name: storageAccountName
4242
}
4343
44-
resource cluster 'Microsoft.HDInsight/clusters@2023-08-15-preview' = {
44+
resource cluster 'Microsoft.HDInsight/clusters@2024-08-01-preview' = {
4545
name: clusterName
4646
location: location
4747
properties: {
@@ -94,7 +94,7 @@ resource storageAccount 'Microsoft.Storage/storageAccounts@2023-05-01' existing
9494
name: storageAccountName
9595
}
9696
97-
resource cluster 'Microsoft.HDInsight/clusters@2023-08-15-preview' = {
97+
resource cluster 'Microsoft.HDInsight/clusters@2024-08-01-preview' = {
9898
name: clusterName
9999
location: location
100100
properties: {
@@ -124,9 +124,9 @@ resource cluster 'Microsoft.HDInsight/clusters@2023-08-15-preview' = {
124124
}
125125
```
126126

127-
You can fix the issue automatically by selecting **Quick Fix** as shown in the following screenshot:
127+
Use **Quick Fix** to simplify the syntax:
128128

129-
:::image type="content" source="./media/linter-rule-use-resource-symbol-reference/bicep-linter-rule-use-resource-symbol-reference-quick-fix.png" alt-text="Screenshot of use resource symbol reference Quick Fix." lightbox="./media/linter-rule-use-resource-symbol-reference/bicep-linter-rule-use-resource-symbol-reference-quick-fix.png":::
129+
:::image type="content" source="./media/linter-rule-use-resource-symbol-reference/bicep-linter-rule-use-resource-symbol-reference-quick-fix.png" alt-text="A screenshot of using Quick fix for the use-resource-symbol-reference linter rule" lightbox="./media/linter-rule-use-resource-symbol-reference/bicep-linter-rule-use-resource-symbol-reference-quick-fix.png":::
130130

131131
## Next steps
132132

0 commit comments

Comments
 (0)