Skip to content

Commit 680e090

Browse files
authored
Merge pull request #269622 from mumian/0320-bicep-freshness
Refresh Bicep content
2 parents fdb3c22 + 76670bd commit 680e090

File tree

59 files changed

+80
-94
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+80
-94
lines changed

articles/azure-resource-manager/bicep/bicep-extensibility-kubernetes-provider.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Bicep extensibility Kubernetes provider
33
description: Learn how to Bicep Kubernetes provider to deploy .NET applications to Azure Kubernetes Service clusters.
44
ms.topic: conceptual
55
ms.custom: devx-track-bicep, devx-track-dotnet
6-
ms.date: 04/18/2023
6+
ms.date: 03/20/2024
77
---
88

99
# Bicep extensibility Kubernetes provider (Preview)

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
---
22
title: Bicep functions - deployment
33
description: Describes the functions to use in a Bicep file to retrieve deployment information.
4-
author: mumian
5-
ms.author: jgao
64
ms.topic: conceptual
75
ms.custom: devx-track-bicep
8-
ms.date: 11/09/2022
6+
ms.date: 03/20/2024
97
---
108

119
# Deployment functions for Bicep
@@ -49,7 +47,7 @@ When deploying a local Bicep file to a resource group, the function returns the
4947
}
5048
```
5149

52-
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:
5351

5452
```json
5553
{

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
---
22
title: Bicep functions - logical
33
description: Describes the functions to use in a Bicep file to determine logical values.
4-
author: mumian
5-
ms.author: jgao
64
ms.topic: conceptual
75
ms.custom: devx-track-bicep
8-
ms.date: 01/30/2023
6+
ms.date: 03/20/2024
97
---
108

119
# Logical functions for Bicep

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ title: Bicep functions - parameters file
33
description: This article describes the Bicep functions to be used in Bicep parameter files.
44
ms.topic: conceptual
55
ms.custom: devx-track-bicep
6-
ms.date: 06/05/2023
6+
ms.date: 03/20/2024
77
---
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: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
---
22
title: Bicep functions - resources
33
description: Describes the functions to use in a Bicep file to retrieve values about resources.
4-
author: mumian
5-
ms.author: jgao
64
ms.topic: conceptual
75
ms.custom: devx-track-bicep
8-
ms.date: 11/03/2023
6+
ms.date: 03/20/2024
97
---
108

119
# Resource functions for Bicep
@@ -502,7 +500,7 @@ Returns an object representing a resource's runtime state.
502500

503501
Namespace: [az](bicep-functions.md#namespaces-for-functions).
504502

505-
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.
506504

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

@@ -588,7 +586,7 @@ resource storageAccount 'Microsoft.Storage/storageAccounts@2022-09-01' existing
588586
output storageID string = storageAccount.id
589587
```
590588

591-
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).
592590

593591
## subscriptionResourceId
594592

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Bicep functions - scopes
33
description: Describes the functions to use in a Bicep file to retrieve values about deployment scopes.
44
ms.topic: conceptual
55
ms.custom: devx-track-bicep
6-
ms.date: 11/17/2022
6+
ms.date: 03/20/2024
77
---
88

99
# Scope functions for Bicep

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
---
22
title: Conditional deployment with Bicep
33
description: Describes how to conditionally deploy a resource in Bicep.
4-
5-
author: mumian
6-
ms.author: jgao
74
ms.topic: conceptual
85
ms.custom: devx-track-bicep
9-
ms.date: 10/20/2023
6+
ms.date: 03/20/2024
107
---
118

129
# Conditional deployments in Bicep with the if expression

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Decompile ARM template JSON to Bicep
33
description: Describes commands for decompiling Azure Resource Manager templates to Bicep files.
44
ms.topic: conceptual
5-
ms.date: 03/03/2023
5+
ms.date: 03/20/2024
66
ms.custom: devx-track-bicep, devx-track-arm-template
77
---
88

articles/azure-resource-manager/bicep/deploy-to-resource-group.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Use Bicep to deploy resources to resource groups
33
description: Describes how to deploy resources in a Bicep file. It shows how to target more than one resource group.
44
ms.topic: conceptual
55
ms.custom: devx-track-bicep
6-
ms.date: 08/05/2022
6+
ms.date: 03/20/2024
77
---
88

99
# Resource group deployments with Bicep files

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
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.
4-
author: mumian
5-
ms.author: jgao
64
ms.topic: conceptual
75
ms.custom: devx-track-bicep
8-
ms.date: 12/06/2022
6+
ms.date: 03/20/2024
97
---
108

119
# Deploy Bicep files from Visual Studio Code

0 commit comments

Comments
 (0)