You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/azure-resource-manager/bicep/linter-rule-secure-secrets-in-parameters.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ ms.date: 03/20/2024
8
8
9
9
# Linter rule - secure secrets in parameters
10
10
11
-
This rule finds parameters whose names look like secrets but without the [secure decorator](./parameters.md#decorators), for example: a parameter name contains the following keywords:
11
+
This rule finds parameters whose names look like secrets but without the [secure decorator](./parameters.md#use-decorators), for example: a parameter name contains the following keywords:
12
12
13
13
- password
14
14
- pwd
@@ -24,7 +24,7 @@ Use the following value in the [Bicep configuration file](bicep-config-linter.md
24
24
25
25
## Solution
26
26
27
-
Use the [secure decorator](./parameters.md#decorators) for the parameters that contain secrets. The secure decorator marks the parameter as secure. The value for a secure parameter isn't saved to the deployment history and isn't logged.
27
+
Use the [secure decorator](./parameters.md#use-decorators) for the parameters that contain secrets. The secure decorator marks the parameter as secure. The value for a secure parameter isn't saved to the deployment history and isn't logged.
28
28
29
29
The following example fails this test because the parameter name may contain secrets.
Copy file name to clipboardExpand all lines: articles/azure-resource-manager/bicep/loops.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -309,7 +309,7 @@ By default, Azure resources are deployed in parallel. When you use a loop to cre
309
309
310
310
You might not want to update all instances of a resource type at the same time. For example, when updating a production environment, you may want to stagger the updates so only a certain number are updated at any one time. You can specify that a subset of the instances be batched together and deployed at the same time. The other instances wait for that batch to complete.
311
311
312
-
To serially deploy instances of a resource, add the [batchSize decorator](./file.md#resource-and-module-decorators). Set its value to the number of instances to deploy concurrently. A dependency is created on earlier instances in the loop, so it doesn't start one batch until the previous batch completes.
312
+
To serially deploy instances of a resource, add the [batchSize decorator](./file.md#decorators). Set its value to the number of instances to deploy concurrently. A dependency is created on earlier instances in the loop, so it doesn't start one batch until the previous batch completes.
Copy file name to clipboardExpand all lines: articles/azure-resource-manager/bicep/patterns-name-generation.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -34,7 +34,7 @@ Use Bicep's [string interpolation](bicep-functions-string.md#concat) to generate
34
34
> [!NOTE]
35
35
> Some Azure resources, such as Azure RBAC role definitions and role assignments, need to have globally unique identifiers (GUIDs) as their names. Use the [guid() function](bicep-functions-string.md#guid) to generate names for these resources.
36
36
37
-
If you're creating reusable Bicep code, you should consider defining names as [parameters](parameters.md). Use a [default parameter value](parameters.md#default-value) to define a default name that can be overridden. Default values help to make your Bicep files more reusable, ensuring that users of the file can define their own names if they need to follow a different naming convention.
37
+
If you're creating reusable Bicep code, you should consider defining names as [parameters](parameters.md). Use a [default parameter value](parameters.md#set-default-values) to define a default name that can be overridden. Default values help to make your Bicep files more reusable, ensuring that users of the file can define their own names if they need to follow a different naming convention.
Copy file name to clipboardExpand all lines: articles/azure-resource-manager/troubleshooting/common-deployment-errors.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,7 +22,7 @@ If your error code isn't listed, submit a GitHub issue. On the right side of the
22
22
| AllocationFailed | The cluster or region doesn't have resources available or can't support the requested VM size. Retry the request at a later time, or request a different VM size. |[Provisioning and allocation issues for Linux](/troubleshoot/azure/virtual-machines/troubleshoot-deployment-new-vm-linux) <br><br> [Provisioning and allocation issues for Windows](/troubleshoot/azure/virtual-machines/troubleshoot-deployment-new-vm-windows) <br><br> [Troubleshoot allocation failures](/troubleshoot/azure/virtual-machines/allocation-failure)|
23
23
| AnotherOperationInProgress | Wait for concurrent operation to complete. ||
24
24
| AuthorizationFailed | Your account or service principal doesn't have sufficient access to complete the deployment. Check the role your account belongs to, and its access for the deployment scope.<br><br>You might receive this error when a required resource provider isn't registered. |[Azure role-based access control (Azure RBAC)](../../role-based-access-control/role-assignments-portal.yml)<br><br>[Resolve registration](error-register-resource-provider.md)|
25
-
| BadRequest | You sent deployment values that don't match what is expected by Resource Manager. Check the inner status message for help with troubleshooting. <br><br> Validate the template's syntax to resolve deployment errors when using a template that was exported from an existing Azure resource. |[Template reference](/azure/templates/) <br><br> [Resource location in ARM template](../templates/resource-location.md) <br><br> [Resource location in Bicep file](../bicep/resource-declaration.md#location) <br><br> [Resolve invalid template](error-invalid-template.md)|
25
+
| BadRequest | You sent deployment values that don't match what is expected by Resource Manager. Check the inner status message for help with troubleshooting. <br><br> Validate the template's syntax to resolve deployment errors when using a template that was exported from an existing Azure resource. |[Template reference](/azure/templates/) <br><br> [Resource location in ARM template](../templates/resource-location.md) <br><br> [Resource location in Bicep file](../bicep/resource-declaration.md#resource-location) <br><br> [Resolve invalid template](error-invalid-template.md)|
26
26
| Conflict | You're requesting an operation that isn't allowed in the resource's current state. For example, disk resizing is allowed only when creating a VM or when the VM is deallocated. ||
27
27
| DeploymentActiveAndUneditable | Wait for concurrent deployment to this resource group to complete. ||
28
28
| DeploymentFailedCleanUp | When you deploy in complete mode, any resources that aren't in the template are deleted. You get this error when you don't have adequate permissions to delete all of the resources not in the template. To avoid the error, change the deployment mode to incremental. |[Azure Resource Manager deployment modes](../templates/deployment-modes.md)|
@@ -52,7 +52,7 @@ If your error code isn't listed, submit a GitHub issue. On the right side of the
52
52
| JobSizeExceeded | Simplify your template to reduce size. |[Resolve template size errors](error-job-size-exceeded.md)|
53
53
| LinkedAuthorizationFailed | Check if your account belongs to the same tenant as the resource group that you're deploying to. ||
54
54
| LinkedInvalidPropertyId | The resource ID for a resource isn't resolved. Check that you provided all required values for the resource ID. For example, subscription ID, resource group name, resource type, parent resource name (if needed), and resource name. |[Resolve errors for resource name and type](../troubleshooting/error-invalid-name-segments.md)|
55
-
| LocationRequired | Provide a location for the resource. |[Resource location in ARM template](../templates/resource-location.md) <br><br> [Resource location in Bicep file](../bicep/resource-declaration.md#location)|
55
+
| LocationRequired | Provide a location for the resource. |[Resource location in ARM template](../templates/resource-location.md) <br><br> [Resource location in Bicep file](../bicep/resource-declaration.md#resource-location)|
56
56
| MismatchingResourceSegments | Make sure a nested resource has the correct number of segments in name and type. |[Resolve resource segments](error-invalid-template.md#incorrect-segment-lengths)|
57
57
| MissingRegistrationForLocation | Check resource provider registration status and supported locations. |[Resolve registration](error-register-resource-provider.md)|
58
58
| MissingSubscriptionRegistration | Register your subscription with the resource provider. |[Resolve registration](error-register-resource-provider.md)|
0 commit comments