Skip to content

Commit 76670bd

Browse files
committed
edit
1 parent 18823b6 commit 76670bd

10 files changed

+20
-20
lines changed

articles/azure-resource-manager/bicep/bicep-functions-deployment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ When deploying a local Bicep file to a resource group, the function returns the
4747
}
4848
```
4949

50-
When you deploy to an Azure subscription, management group, or tenant, the return object includes a `location` property. The `location` property is not included when deploying a local Bicep file. The format is:
50+
When you deploy to an Azure subscription, management group, or tenant, the return object includes a `location` property. The `location` property isn't included when deploying a local Bicep file. The format is:
5151

5252
```json
5353
{

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

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

99
# Parameters file function for Bicep
1010

11-
Bicep provides a function called `readEnvironmentVariable()` that allows you to retrieve values from environment variables. It also offers the flexibility to set a default value if the environment variable does not exist. This function can only be used in the `.bicepparam` files. For more information, see [Bicep parameters file](./parameter-files.md).
11+
Bicep provides a function called `readEnvironmentVariable()` that allows you to retrieve values from environment variables. It also offers the flexibility to set a default value if the environment variable doesn't exist. This function can only be used in the `.bicepparam` files. For more information, see [Bicep parameters file](./parameter-files.md).
1212

1313
## getSecret
1414

@@ -26,7 +26,7 @@ param secureUserName = getSecret('exampleSubscription', 'exampleResourceGroup',
2626
param securePassword = getSecret('exampleSubscription', 'exampleResourceGroup', 'exampleKeyVault', 'exampleSecretPassword')
2727
```
2828

29-
You'll get an error if you use this function with string interpolation.
29+
You get an error if you use this function with string interpolation.
3030

3131
A [namespace qualifier](bicep-functions.md#namespaces-for-functions) (`az`) can be used, but it's optional, because the function is available from the _default_ Azure Namespace.
3232

@@ -46,15 +46,15 @@ The value for the secret.
4646

4747
### Example
4848

49-
The following `.bicepparam` file has a `securePassword` parameter that will have the latest value of the _\<secretName\>_ secret.
49+
The following `.bicepparam` file has a `securePassword` parameter that has the latest value of the _\<secretName\>_ secret.
5050

5151
```bicep
5252
using './main.bicep'
5353
5454
param securePassword = getSecret('exampleSubscription', 'exampleResourceGroup', 'exampleKeyVault', 'exampleSecretPassword')
5555
```
5656

57-
The following `.bicepparam` file has a `securePassword` parameter that will have the value of the _\<secretName\>_ secret, but it's pinned to a specific _\<secretValue\>_.
57+
The following `.bicepparam` file has a `securePassword` parameter that has the value of the _\<secretName\>_ secret, but it's pinned to a specific _\<secretValue\>_.
5858

5959
```bicep
6060
using './main.bicep'
@@ -75,7 +75,7 @@ Namespace: [sys](bicep-functions.md#namespaces-for-functions).
7575
| Parameter | Required | Type | Description |
7676
|:--- |:--- |:--- |:--- |
7777
| variableName | Yes | string | The name of the variable. |
78-
| defaultValue | No | string | A default string value to be used if the environment variable does not exist. |
78+
| defaultValue | No | string | A default string value to be used if the environment variable doesn't exist. |
7979

8080
### Return value
8181

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -500,7 +500,7 @@ Returns an object representing a resource's runtime state.
500500

501501
Namespace: [az](bicep-functions.md#namespaces-for-functions).
502502

503-
The Bicep files provide access to the reference function, although it is typically unnecessary. Instead, it is recommended to use the symbolic name of the resource. The reference function can only be used within the `properties` object of a resource and cannot be employed for top-level properties like `name` or `location`. The same generally applies to references using the symbolic name. However, for properties such as `name`, it is possible to generate a template without utilizing the reference function. Sufficient information about the resource name is known to directly emit the name. It is referred to as compile-time properties. Bicep validation can identify any incorrect usage of the symbolic name.
503+
The Bicep files provide access to the reference function, although it's typically unnecessary. Instead, it's recommended to use the symbolic name of the resource. The reference function can only be used within the `properties` object of a resource and can't be employed for top-level properties like `name` or `location`. The same generally applies to references using the symbolic name. However, for properties such as `name`, it's possible to generate a template without utilizing the reference function. Sufficient information about the resource name is known to directly emit the name. It's referred to as compile-time properties. Bicep validation can identify any incorrect usage of the symbolic name.
504504

505505
The following example deploys a storage account. The first two outputs give you the same results.
506506

@@ -586,7 +586,7 @@ resource storageAccount 'Microsoft.Storage/storageAccounts@2022-09-01' existing
586586
output storageID string = storageAccount.id
587587
```
588588

589-
For more information, see the [JSON template resourceId function](../templates/template-functions-resource.md#resourceid)
589+
For more information, see the [JSON template resourceId function](../templates/template-functions-resource.md#resourceid).
590590

591591
## subscriptionResourceId
592592

articles/azure-resource-manager/bicep/deploy-vscode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: Deploy Bicep files with visual Studio Code
2+
title: Deploy Bicep files with Visual Studio Code
33
description: Deploy Bicep files from Visual Studio Code.
44
ms.topic: conceptual
55
ms.custom: devx-track-bicep

articles/azure-resource-manager/bicep/installation-troubleshoot.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,17 +67,17 @@ See [User and Workspace Settings](https://code.visualstudio.com/docs/getstarted/
6767

6868
## Visual Studio Code error
6969

70-
If you see the following error message popup in VSCode:
70+
If you see the following error message popup in Visual Studio Code:
7171

7272
```error
7373
The Bicep server crashed 5 times in the last 3 minutes. The server will not be restarted.
7474
```
7575

76-
From VSCode, open the **Output** view in the pane at the bottom of the screen, and then select **Bicep**:
76+
From VS Code, open the **Output** view in the pane at the bottom of the screen, and then select **Bicep**:
7777

7878
:::image type="content" source="./media/installation-troubleshoot/visual-studio-code-output-pane-bicep.png" alt-text="Visual Studio Code output pane":::
7979

80-
If you see the following output in the pane, and you are using Bicep CLI **version 0.4.1124** or later, check whether you have added the `dotnetAcquisitionExtension.existingDotnetPath` configuration option to VSCode. See [.NET runtime error](#net-runtime-error). If this configuration option is present, remove it and restart VSCode.
80+
If you see the following output in the pane, and you're using Bicep CLI **version 0.4.1124** or later, check whether you have added the `dotnetAcquisitionExtension.existingDotnetPath` configuration option to VS Code. See [.NET runtime error](#net-runtime-error). If this configuration option is present, remove it and restart VS Code.
8181

8282
```error
8383
It was not possible to find any compatible framework version.

articles/azure-resource-manager/bicep/linter-rule-admin-username-should-not-be-literal.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
---
2-
title: Linter rule - admin user name should not be literal
3-
description: Linter rule - admin user name should not be a literal
2+
title: Linter rule - admin user name shouldn't be literal
3+
description: Linter rule - admin user name shouldn't be a literal
44
ms.topic: conceptual
55
ms.custom: devx-track-bicep
66
ms.date: 03/20/2024
77
---
88

9-
# Linter rule - admin user name should not be literal
9+
# Linter rule - admin user name shouldn't be literal
1010

1111
This rule finds when an admin user name is set to a literal value.
1212

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ param _artifactsLocation string = deployment().properties.templateLink.uri
3434
...
3535
```
3636

37-
The next example fails this test because `_artifactsLocation` must be either `deployment().properties.templateLink.uri` or a raw URL when the default value is provided, and the default value of `_artifactsLocationSasToken` is not an empty string.
37+
The next example fails this test because `_artifactsLocation` must be either `deployment().properties.templateLink.uri` or a raw URL when the default value is provided, and the default value of `_artifactsLocationSasToken` isn't an empty string.
3838

3939
```bicep
4040
@description('The base URI where artifacts required by this template are located including a trailing \'/\'')

articles/azure-resource-manager/bicep/linter-rule-explicit-values-for-loc-params.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Linter rule - use explicit values for module location parameters
3-
description: Linter rule - use explicit values for module location parameters
3+
description: Linter rule - use explicit values for module location parameters.
44
ms.topic: conceptual
55
ms.custom: devx-track-bicep
66
ms.date: 03/20/2024
@@ -24,7 +24,7 @@ A parameter that defaults to a resource group's or deployment's location is conv
2424

2525
### Examples
2626

27-
The following example fails this test. Module `m1`'s parameter `location` isn't assigned an explicit value, so it will default to `resourceGroup().location`, as specified in *module1.bicep*. But using the resource group location may not be the intended behavior, since other resources in *main.bicep* might be created in a different location than the resource group's location.
27+
The following example fails this test. Module `m1`'s parameter `location` isn't assigned an explicit value, so it defaults to `resourceGroup().location`, as specified in *module1.bicep*. But using the resource group location may not be the intended behavior, since other resources in *main.bicep* might be created in a different location than the resource group's location.
2828

2929
*main.bicep*:
3030

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ ms.date: 03/20/2024
88

99
# Linter rule - max variables
1010

11-
This rule checks that the number of variables does not exceed the [ARM template limits](../templates/best-practices.md#template-limits).
11+
This rule checks that the number of variables doesn't exceed the [ARM template limits](../templates/best-practices.md#template-limits).
1212

1313
## Linter rule code
1414

articles/azure-resource-manager/bicep/linter-rule-no-unnecessary-dependson.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ resource webApplication 'Microsoft.Web/sites@2022-03-01' = {
7171

7272
Use **Quick Fix** to remove the unnecessary dependsOn entry.
7373

74-
:::image type="content" source="./media/linter-rule-no-unnecessary-dependson/linter-rule-no-unnecessary-dependson-quick-fix.png" alt-text="The screenshot of No unnecessary dependson linterfule with quick fix.":::
74+
:::image type="content" source="./media/linter-rule-no-unnecessary-dependson/linter-rule-no-unnecessary-dependson-quick-fix.png" alt-text="The screenshot of No unnecessary dependson linter rule with quick fix.":::
7575

7676
## Next steps
7777

0 commit comments

Comments
 (0)