Skip to content

Commit 385e547

Browse files
authored
Merge pull request #174906 from mumian/1007-symbolic-name
update symbolic name requirements
2 parents 32beda6 + 6f2aaa7 commit 385e547

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

articles/azure-resource-manager/bicep/file.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Bicep file structure and syntax
33
description: Describes the structure and properties of a Bicep file using declarative syntax.
44
ms.topic: conceptual
5-
ms.date: 10/01/2021
5+
ms.date: 10/07/2021
66
---
77

88
# Understand the structure and syntax of Bicep files
@@ -197,7 +197,7 @@ For more information, see [Variables in Bicep](./variables.md).
197197

198198
## Resource
199199

200-
Use the `resource` keyword to define a resource to deploy. Your resource declaration includes a symbolic name for the resource. You'll use this symbolic name in other parts of the Bicep file if you need to get a value from the resource. The symbolic name may contain a-z, A-Z, 0-9, and '_', the name can't start with a number.
200+
Use the `resource` keyword to define a resource to deploy. Your resource declaration includes a symbolic name for the resource. You'll use this symbolic name in other parts of the Bicep file if you need to get a value from the resource. The Symbolic names are case-sensitive. They may contain letters, numbers, and _; but can't start with a number.
201201

202202
The resource declaration also includes the resource type and API version.
203203

articles/azure-resource-manager/bicep/resource-declaration.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: Describes how to declare resources to deploy in Bicep.
44
author: mumian
55
ms.author: jgao
66
ms.topic: conceptual
7-
ms.date: 08/16/2021
7+
ms.date: 10/07/2021
88
---
99

1010
# Resource declaration in Bicep
@@ -23,7 +23,7 @@ resource stg 'Microsoft.Storage/storageAccounts@2019-06-01' = {
2323
}
2424
```
2525

26-
You set a symbolic name for the resource. In the preceding example, the symbolic name is `stg`. You can use any value for the symbolic name but it can't be the same as another resource, parameter, or variable in the Bicep file. The symbolic name isn't the same as the resource name. You use the symbolic name to reference the resource in other parts of your Bicep file.
26+
You set a symbolic name for the resource. In the preceding example, the symbolic name is `stg`. The symbolic name isn't the same as the resource name. You use the symbolic name to reference the resource in other parts of your Bicep file. Symbolic names are case-sensitive. They may contain letters, numbers, and _; but can't start with a number.
2727

2828
Bicep doesn't support `apiProfile`, which is available in [Azure Resource Manager templates (ARM templates) JSON](../templates/syntax.md).
2929

@@ -101,7 +101,7 @@ You can apply tags to a resource during deployment. Tags help you logically orga
101101

102102
## Set managed identities for Azure resources
103103

104-
Some resources support [managed identities for Azure resources](../../active-directory/managed-identities-azure-resources/overview.md). Those resources have an identity object at the root level of the resource declaration.
104+
Some resources support [managed identities for Azure resources](../../active-directory/managed-identities-azure-resources/overview.md). Those resources have an identity object at the root level of the resource declaration.
105105

106106
You can use either system-assigned or user-assigned identities.
107107

@@ -199,7 +199,7 @@ For more information about nested resources, see [Set name and type for child re
199199

200200
### Explicit dependency
201201

202-
An explicit dependency is declared with the `dependsOn` property. The property accepts an array of resource identifiers, so you can specify more than one dependency.
202+
An explicit dependency is declared with the `dependsOn` property. The property accepts an array of resource identifiers, so you can specify more than one dependency.
203203

204204
The following example shows a DNS zone named `otherZone` that depends on a DNS zone named `dnsZone`:
205205

0 commit comments

Comments
 (0)