Skip to content

Commit f6542f8

Browse files
committed
update
1 parent 3451fe0 commit f6542f8

File tree

3 files changed

+21
-12
lines changed

3 files changed

+21
-12
lines changed

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

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Deployment stacks provide the following benefits:
3939
### Known issues
4040

4141
- Deleting resource groups currently bypasses deny assignments. When creating a deployment stack in the resource group scope, the Bicep file doesn't contain the definition for the resource group. Despite the deny assignment setting, it's possible to delete the resource group and its contained stack. However, if a [lock](../management/lock-resources.md) is active on any resource within the group, the delete operation will fail.
42-
- [What-if](./deploy-what-if.md) isn't available in the preview.
42+
- The [What-if](./deploy-what-if.md) support is not yet available.
4343
- A management group-scoped stack is restricted from deploying to another management group. It can only deploy to the management group of the stack itself or to a child subscription.
4444

4545
## Create deployment stacks
@@ -373,8 +373,6 @@ New-AzSubscriptionDeploymentStack `
373373

374374
Use the `action-on-unmanage` switch to define what happens to resources that are no longer managed after a stack is updated or deleted. Allowed values are:
375375

376-
deleteAll, deleteResources, detachAll.
377-
378376
- `deleteAll`: use delete rather than detach for managed resources and resource groups.
379377
- `deleteResources`: use delete rather than detach for managed resources only.
380378
- `detachAll`: detach the managed resources and resource groups.
@@ -518,7 +516,7 @@ Currently not implemented.
518516

519517
## View managed resources in deployment stack
520518

521-
During public preview, the deployment stack service doesn't yet have an Azure portal graphical user interface (GUI). To view the managed resources inside a deployment stack, use the following Azure Powershell/Azure CLI commands:
519+
The deployment stack service doesn't yet have an Azure portal graphical user interface (GUI). To view the managed resources inside a deployment stack, use the following Azure Powershell/Azure CLI commands:
522520

523521
To view managed resources at the resource group scope:
524522

@@ -758,8 +756,8 @@ To export a deployment stack at the resource group scope:
758756

759757
```azurepowershell
760758
Save-AzResourceGroupDeploymentStack `
761-
-Name '<deployment-stack-name>' `
762-
-ResourceGroupName '<resource-group-name>' `
759+
-Name "<deployment-stack-name>" `
760+
-ResourceGroupName "<resource-group-name>" `
763761
```
764762

765763
# [CLI](#tab/azure-cli)
@@ -782,7 +780,7 @@ To export a deployment stack at the subscription scope:
782780

783781
```azurepowershell
784782
Save-AzSubscriptionDeploymentStack `
785-
-name '<deployment-stack-name>'
783+
-name "<deployment-stack-name>"
786784
```
787785

788786
# [CLI](#tab/azure-cli)
@@ -804,8 +802,8 @@ To export a deployment stack at the management group scope:
804802

805803
```azurepowershell
806804
Save-AzManagmentGroupDeploymentStack `
807-
-Name '<deployment-stack-name>' `
808-
-ManagementGroupId '<management-group-id>'
805+
-Name "<deployment-stack-name>" `
806+
-ManagementGroupId "<management-group-id>"
809807
```
810808

811809
# [CLI](#tab/azure-cli)

articles/azure-resource-manager/bicep/quickstart-create-deployment-stacks-template-specs.md

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,8 @@ az stack group create \
123123
--deny-settings-mode 'none'
124124
```
125125

126+
For more information about `action-on-unmanage` and `deny-setting-mode`, see [Deployment stacks](./deployment-stacks.md).
127+
126128
# [PowerShell](#tab/azure-powershell)
127129

128130
```azurepowershell
@@ -140,6 +142,8 @@ New-AzResourceGroupDeploymentStack `
140142
-DenySettingsMode "none"
141143
```
142144

145+
For more information about `ActionOnUnmanage` and `DenySettingMode`, see [Deployment stacks](./deployment-stacks.md).
146+
143147
---
144148

145149
## Verify the deployment
@@ -404,13 +408,15 @@ The remove command only remove the managed resources and managed resource groups
404408
# [CLI](#tab/azure-cli)
405409

406410
```azurecli
407-
az group delete --name 'demoRg'
411+
az group delete \
412+
--name 'demoRg'
408413
```
409414

410415
# [PowerShell](#tab/azure-powershell)
411416

412417
```azurepowershell
413-
Remove-AzResourceGroup -Name "demoRg"
418+
Remove-AzResourceGroup `
419+
-Name "demoRg"
414420
```
415421

416422
---
@@ -420,7 +426,8 @@ To delete the template spec and the resource group:
420426
# [CLI](#tab/azure-cli)
421427

422428
```azurecli
423-
az group delete --name 'templateSpecRG'
429+
az group delete \
430+
--name 'templateSpecRG'
424431
```
425432

426433
# [PowerShell](#tab/azure-powershell)

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@ az stack group create \
8383
--deny-settings-mode 'none'
8484
```
8585

86+
For more information about `action-on-unmanage` and `deny-setting-mode`, see [Deployment stacks](./deployment-stacks.md).
87+
8688
# [PowerShell](#tab/azure-powershell)
8789

8890
```azurepowershell
@@ -98,6 +100,8 @@ New-AzResourceGroupDeploymentStack `
98100
-DenySettingsMode "none"
99101
```
100102

103+
For more information about `ActionOnUnmanage` and `DenySettingMode`, see [Deployment stacks](./deployment-stacks.md).
104+
101105
---
102106

103107
## Verify the deployment

0 commit comments

Comments
 (0)