Skip to content

Commit b0c8ed1

Browse files
committed
fix gramma issue
1 parent 212c5ff commit b0c8ed1

File tree

3 files changed

+8
-6
lines changed

3 files changed

+8
-6
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: BCP072
33
description: Error - This symbol cannot be referenced here. Only other parameters can be referenced in parameter default values.
44
ms.topic: reference
55
ms.custom: devx-track-bicep
6-
ms.date: 06/28/2024
6+
ms.date: 07/02/2024
77
---
88

99
# Bicep warning and error code - BCP072

articles/azure-resource-manager/bicep/bicep-error-codes.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ If you need more information about a particular warning or error code, select th
6262
| BCP053 | The type "{type}" does not contain property "{badProperty}". Available properties include {ToQuotedString(availableProperties)}. |
6363
| BCP054 | The type "{type}" does not contain any properties. |
6464
| BCP055 | Cannot access properties of type "{wrongType}". An "{LanguageConstants.Object}" type is required. |
65-
| BCP056 | The reference to name "{name}" is ambiguous because it exists in namespaces {ToQuotedString(namespaces)}. The reference must be fully-qualified. |
65+
| BCP056 | The reference to name "{name}" is ambiguous because it exists in namespaces {ToQuotedString(namespaces)}. The reference must be fully qualified. |
6666
| BCP057 | The name "{name}" does not exist in the current context. |
6767
| BCP059 | The name "{name}" is not a function. |
6868
| BCP060 | The "variables" function is not supported. Directly reference variables by their symbolic names. |
@@ -159,7 +159,7 @@ If you need more information about a particular warning or error code, select th
159159
| BCP153 | Expected a resource or module declaration after the decorator. |
160160
| BCP154 | Expected a batch size of at least {limit} but the specified value was "{value}". |
161161
| BCP155 | The decorator "{decoratorName}" can only be attached to resource or module collections. |
162-
| BCP156 | The resource type segment "{typeSegment}" is invalid. Nested resources must specify a single type segment, and optionally can specify an api version using the format "<type>@<apiVersion>". |
162+
| BCP156 | The resource type segment "{typeSegment}" is invalid. Nested resources must specify a single type segment, and optionally can specify an API version using the format "<type>@<apiVersion>". |
163163
| BCP157 | The resource type cannot be determined due to an error in the containing resource. |
164164
| BCP158 | Cannot access nested resources of type "{wrongType}". A resource type is required. |
165165
| BCP159 | The resource "{resourceName}" does not contain a nested resource named "{identifierName}". Known nested resources are: {ToQuotedString(nestedResourceNames)}. |
@@ -217,9 +217,9 @@ If you need more information about a particular warning or error code, select th
217217
| BCP214 | The Template Spec module alias "{aliasName}" in the {BuildBicepConfigurationClause(configFileUri)} is in valid. The "subscription" property cannot be null or undefined. |
218218
| BCP215 | The Template Spec module alias "{aliasName}" in the {BuildBicepConfigurationClause(configFileUri)} is in valid. The "resourceGroup" property cannot be null or undefined. |
219219
| BCP216 | The OCI artifact module alias "{aliasName}" in the {BuildBicepConfigurationClause(configFileUri)} is invalid. The "registry" property cannot be null or undefined. |
220-
| BCP217 | {BuildInvalidTemplateSpecReferenceClause(aliasName, referenceValue)} The subscription ID "{subscriptionId}" in is not a GUID. |
220+
| BCP217 | {BuildInvalidTemplateSpecReferenceClause(aliasName, referenceValue)} The subscription ID "{subscriptionId}" is not a GUID. |
221221
| BCP218 | {BuildInvalidTemplateSpecReferenceClause(aliasName, referenceValue)} The resource group name "{resourceGroupName}" exceeds the maximum length of {maximumLength} characters. |
222-
| BCP219 | {BuildInvalidTemplateSpecReferenceClause(aliasName, referenceValue)} The resource group name "{resourceGroupName}" is invalid. Valid characters are alphanumeric, unicode charaters, ".", "_", "-", "(", or ")", but the resource group name cannot end with ".". |
222+
| BCP219 | {BuildInvalidTemplateSpecReferenceClause(aliasName, referenceValue)} The resource group name "{resourceGroupName}" is invalid. Valid characters are alphanumeric, unicode characters, ".", "_", "-", "(", or ")", but the resource group name cannot end with ".". |
223223
| BCP220 | {BuildInvalidTemplateSpecReferenceClause(aliasName, referenceValue)} The Template Spec name "{templateSpecName}" exceeds the maximum length of {maximumLength} characters. |
224224
| BCP221 | {BuildInvalidTemplateSpecReferenceClause(aliasName, referenceValue)} The Template Spec name "{templateSpecName}" is invalid. Valid characters are alphanumeric, ".", "_", "-", "(", or ")", but the Template Spec name cannot end with ".". |
225225
| BCP222 | {BuildInvalidTemplateSpecReferenceClause(aliasName, referenceValue)} The Template Spec version "{templateSpecVersion}" exceeds the maximum length of {maximumLength} characters. |
@@ -305,7 +305,7 @@ If you need more information about a particular warning or error code, select th
305305
| BCP385 | Using resource-derived types requires enabling EXPERIMENTAL feature "{nameof(ExperimentalFeaturesEnabled.ResourceDerivedTypes)}". |
306306
| BCP386 | The decorator "{decoratorName}" may not be used on statements whose declared type is a reference to a resource-derived type. |
307307
| BCP387 | Indexing into a type requires an integer greater than or equal to 0. |
308-
| BCP388 | Cannot access elements of type "{wrongType}" by index. An tuple type is required. |
308+
| BCP388 | Cannot access elements of type "{wrongType}" by index. A tuple type is required. |
309309
| BCP389 | The type "{wrongType}" does not declare an additional properties type. |
310310
| BCP390 | The array item type access operator ('[*]') can only be used with typed arrays. |
311311
| BCP391 | Type member access is only supported on a reference to a named type. |

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -607,5 +607,7 @@
607607
href: bicep-error-bcp033.md
608608
- name: BCP035
609609
href: bicep-error-bcp035.md
610+
- name: BCP072
611+
href: bicep-error-bcp072.md
610612
- name: Azure CLI
611613
href: /cli/azure/resource

0 commit comments

Comments
 (0)