Skip to content

Commit 06c82da

Browse files
Merge pull request #283715 from mumian/0806-bicep-diagnostic-level
add diagnostic level
2 parents 06d7b8e + 8233c8f commit 06c82da

File tree

13 files changed

+394
-329
lines changed

13 files changed

+394
-329
lines changed

articles/azure-resource-manager/bicep/bicep-core-diagnostics.md

Lines changed: 374 additions & 309 deletions
Large diffs are not rendered by default.

articles/azure-resource-manager/bicep/diagnostics/bcp033.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,4 @@ output myString string = myValue
3838

3939
## Next steps
4040

41-
For more information about Bicep error and warning codes, see [Bicep warnings and errors](../bicep-core-diagnostics.md).
41+
For more information about Bicep error and warning codes, see [Bicep core diagnostics](../bicep-core-diagnostics.md).

articles/azure-resource-manager/bicep/diagnostics/bcp035.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,4 @@ resource networkConnection 'Microsoft.Network/connections@2023-11-01' = {
8080

8181
## Next steps
8282

83-
For more information about Bicep error and warning codes, see [Bicep warnings and errors](../bicep-core-diagnostics.md).
83+
For more information about Bicep error and warning codes, see [Bicep core diagnostics](../bicep-core-diagnostics.md).

articles/azure-resource-manager/bicep/diagnostics/bcp036.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,4 @@ param foo storageAccountConfigType = {
5050

5151
## Next steps
5252

53-
For more information about Bicep error and warning codes, see [Bicep warnings and errors](../bicep-core-diagnostics.md).
53+
For more information about Bicep error and warning codes, see [Bicep core diagnostics](../bicep-core-diagnostics.md).

articles/azure-resource-manager/bicep/diagnostics/bcp037.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
---
22
title: BCP037
3-
description: Warning - The property <property-name> is not allowed on objects of type <type-definition>.
3+
description: Error/warning - The property <property-name> is not allowed on objects of type <type-definition>.
44
ms.topic: reference
55
ms.custom: devx-track-bicep
66
ms.date: 07/15/2024
77
---
88

9-
# Bicep warning code - BCP037
9+
# Bicep error/warning code - BCP037
1010

11-
This warning occurs when you specify a property that isn't defined in a resource type.
11+
This error/warning occurs when you specify a property that isn't defined in a resource type.
1212

13-
## Warning description
13+
## Error/warning description
1414

1515
`The property <property-name> is not allowed on objects of type <type-defintion>.`
1616

@@ -82,4 +82,4 @@ param p obj = {
8282

8383
## Next steps
8484

85-
For more information about Bicep error and warning codes, see [Bicep warnings and errors](../bicep-core-diagnostics.md).
85+
For more information about Bicep error and warning codes, see [Bicep core diagnostics](../bicep-core-diagnostics.md).

articles/azure-resource-manager/bicep/diagnostics/bcp040.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@ param foo storageAccountConfigType = {
5454

5555
## Next steps
5656

57-
For more information about Bicep error and warning codes, see [Bicep warnings and errors](../bicep-core-diagnostics.md).
57+
For more information about Bicep error and warning codes, see [Bicep core diagnostics](../bicep-core-diagnostics.md).

articles/azure-resource-manager/bicep/diagnostics/bcp053.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,4 +56,4 @@ output foo string = storage.name
5656

5757
## Next steps
5858

59-
For more information about Bicep error and warning codes, see [Bicep warnings and errors](../bicep-core-diagnostics.md).
59+
For more information about Bicep error and warning codes, see [Bicep core diagnostics](../bicep-core-diagnostics.md).

articles/azure-resource-manager/bicep/diagnostics/bcp072.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,4 +39,4 @@ output outValue string = foo
3939

4040
## Next steps
4141

42-
For more information about Bicep error and warning codes, see [Bicep warnings and errors](../bicep-core-diagnostics.md).
42+
For more information about Bicep error and warning codes, see [Bicep core diagnostics](../bicep-core-diagnostics.md).

articles/azure-resource-manager/bicep/diagnostics/bcp073.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
---
22
title: BCP073
3-
description: Warning - The property <property-name> is read-only. Expressions cannot be assigned to read-only properties.
3+
description: Error/warning - The property <property-name> is read-only. Expressions cannot be assigned to read-only properties.
44
ms.topic: reference
55
ms.custom: devx-track-bicep
66
ms.date: 07/15/2024
77
---
88

9-
# Bicep warning code - BCP073
9+
# Bicep error/warning code - BCP073
1010

11-
This warning occurs when you assign a value to a read-only property.
11+
This error/warning occurs when you assign a value to a read-only property.
1212

13-
## Warning description
13+
## Error/warning description
1414

1515
`The property <property-name> is read-only. Expressions cannot be assigned to read-only properties.`
1616

@@ -63,4 +63,4 @@ resource blobService 'Microsoft.Storage/storageAccounts/blobServices@2023-04-01'
6363

6464
## Next steps
6565

66-
For more information about Bicep error and warning codes, see [Bicep warnings and errors](../bicep-core-diagnostics.md).
66+
For more information about Bicep error and warning codes, see [Bicep core diagnostics](../bicep-core-diagnostics.md).

articles/azure-resource-manager/bicep/diagnostics/bcp327.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,4 @@ param month int = 12
4040

4141
## Next steps
4242

43-
For more information about Bicep error and warning codes, see [Bicep warnings and errors](../bicep-core-diagnostics.md).
43+
For more information about Bicep error and warning codes, see [Bicep core diagnostics](../bicep-core-diagnostics.md).

0 commit comments

Comments
 (0)