Skip to content

Commit f5e819c

Browse files
Merge pull request #247489 from mumian/0807-stack-parameter-name
update deployment stack parameter names
2 parents 26dbc37 + 47808e5 commit f5e819c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Create & deploy deployment stacks in Bicep
33
description: Describes how to create deployment stacks in Bicep.
44
ms.topic: conceptual
55
ms.custom: devx-track-azurecli, devx-track-azurepowershell, devx-track-bicep
6-
ms.date: 08/01/2023
6+
ms.date: 08/07/2023
77
---
88

99
# Deployment stacks (Preview)
@@ -600,7 +600,7 @@ The Azure PowerShell includes these parameters to customize the deny assignment:
600600

601601
- `DenySettingsMode`: Defines the operations that are prohibited on the managed resources to safeguard against unauthorized security principals attempting to delete or update them. This restriction applies to everyone unless explicitly granted access. The values include: `None`, `DenyDelete`, and `DenyWriteAndDelete`.
602602
- `DenySettingsApplyToChildScopes`: Deny settings are applied to nested resources under managed resources.
603-
- `DenySettingsExcludedActions`: List of role-based management operations that are excluded from the deny settings. Up to 200 actions are permitted.
603+
- `DenySettingsExcludedAction`: List of role-based management operations that are excluded from the deny settings. Up to 200 actions are permitted.
604604
- `DenySettingsExcludedPrincipal`: List of Azure Active Directory (Azure AD) principal IDs excluded from the lock. Up to five principals are permitted.
605605

606606
# [CLI](#tab/azure-cli)
@@ -628,7 +628,7 @@ New-AzResourceGroupDeploymentStack `
628628
-ResourceGroupName "<resource-group-name>" `
629629
-TemplateFile "<bicep-file-name>" `
630630
-DenySettingsMode "DenyDelete" `
631-
-DenySettingsExcludedActions "Microsoft.Compute/virtualMachines/write Microsoft.StorageAccounts/delete" `
631+
-DenySettingsExcludedAction "Microsoft.Compute/virtualMachines/write Microsoft.StorageAccounts/delete" `
632632
-DenySettingsExcludedPrincipal "<object-id>" "<object-id>"
633633
```
634634

@@ -660,7 +660,7 @@ New-AzSubscriptionDeploymentStack `
660660
-Location "<location>" `
661661
-TemplateFile "<bicep-file-name>" `
662662
-DenySettingsMode "DenyDelete" `
663-
-DenySettingsExcludedActions "Microsoft.Compute/virtualMachines/write Microsoft.StorageAccounts/delete" `
663+
-DenySettingsExcludedAction "Microsoft.Compute/virtualMachines/write Microsoft.StorageAccounts/delete" `
664664
-DenySettingsExcludedPrincipal "<object-id>" "<object-id>"
665665
```
666666

0 commit comments

Comments
 (0)