Skip to content

Commit e50c53d

Browse files
authored
Update deployment-stacks.md
Fixing typo as per: https://github.com/Azure/azure-powershell/blob/81d8f8b62d556a94f850edfbb0756fcc95bf3a4a/src/Resources/Resources/help/New-AzResourceGroupDeploymentStack.md#L4 DenySettingsExcludedPrincipals --> DenySettingsExcludedPrincipal
1 parent 6d8d70c commit e50c53d

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
@@ -598,7 +598,7 @@ The Azure PowerShell includes these parameters to customize the deny assignment:
598598
- `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`.
599599
- `DenySettingsApplyToChildScopes`: Deny settings are applied to nested resources under managed resources.
600600
- `DenySettingsExcludedActions`: List of role-based management operations that are excluded from the deny settings. Up to 200 actions are permitted.
601-
- `DenySettingsExcludedPrincipals`: List of Azure Active Directory (Azure AD) principal IDs excluded from the lock. Up to five principals are permitted.
601+
- `DenySettingsExcludedPrincipal`: List of Azure Active Directory (Azure AD) principal IDs excluded from the lock. Up to five principals are permitted.
602602

603603
# [CLI](#tab/azure-cli)
604604

@@ -626,7 +626,7 @@ New-AzResourceGroupDeploymentStack `
626626
-TemplateFile "<bicep-file-name>" `
627627
-DenySettingsMode "DenyDelete" `
628628
-DenySettingsExcludedActions "Microsoft.Compute/virtualMachines/write Microsoft.StorageAccounts/delete" `
629-
-DenySettingsExcludedPrincipals "<object-id>" "<object-id>"
629+
-DenySettingsExcludedPrincipal "<object-id>" "<object-id>"
630630
```
631631

632632
# [CLI](#tab/azure-cli)
@@ -658,7 +658,7 @@ New-AzSubscriptionDeploymentStack `
658658
-TemplateFile "<bicep-file-name>" `
659659
-DenySettingsMode "DenyDelete" `
660660
-DenySettingsExcludedActions "Microsoft.Compute/virtualMachines/write Microsoft.StorageAccounts/delete" `
661-
-DenySettingsExcludedPrincipals "<object-id>" "<object-id>"
661+
-DenySettingsExcludedPrincipal "<object-id>" "<object-id>"
662662
```
663663

664664
Use the `DeploymentResourceGroupName` parameter to specify the resource group name at which the deployment stack is created. If a scope isn't specified, it uses the scope of the deployment stack.
@@ -694,7 +694,7 @@ New-AzManagmentGroupDeploymentStack `
694694
-TemplateFile "<bicep-file-name>" `
695695
-DenySettingsMode "DenyDelete" `
696696
-DenySettingsExcludedActions "Microsoft.Compute/virtualMachines/write Microsoft.StorageAccounts/delete" `
697-
-DenySettingsExcludedPrincipals "<object-id>" "<object-id>"
697+
-DenySettingsExcludedPrincipal "<object-id>" "<object-id>"
698698
```
699699

700700
Use the `DeploymentSubscriptionId ` parameter to specify the subscription ID at which the deployment stack is created. If a scope isn't specified, it uses the scope of the deployment stack.

0 commit comments

Comments
 (0)