Skip to content

Commit 0e299e7

Browse files
committed
Added example output
1 parent 31f7d40 commit 0e299e7

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

articles/role-based-access-control/quickstart-role-assignments-template.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,35 @@ The template used in this quickstart is from [Azure Quickstart templates](https:
6969
7070
1. Enter a location for the resource group such as centralus.
7171
72+
1. If necessary, press Enter to run the New-AzResourceGroupDeployment command.
73+
7274
The [New-AzResourceGroup](/powershell/module/az.resources/new-azresourcegroup) command creates a new resource group and the [New-AzResourceGroupDeployment](/powershell/module/az.resources/new-azresourcegroupdeployment) command deploys the template to add the role assignment.
7375
76+
You should see output similar to the following:
77+
78+
```azurepowershell
79+
PS> New-AzResourceGroupDeployment -ResourceGroupName $resourceGroupName -TemplateUri $templateUri -roleAssignmentName $roleAssignmentName -roleDefinitionID $roleDefinitionId -principalId $principalId
80+
81+
DeploymentName : azuredeploy
82+
ResourceGroupName : ExampleGrouprg
83+
ProvisioningState : Succeeded
84+
Timestamp : 5/22/2020 9:01:30 PM
85+
Mode : Incremental
86+
TemplateLink :
87+
Uri : https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/101-rbac-builtinrole-resourcegroup/azuredeploy.json
88+
ContentVersion : 1.0.0.0
89+
90+
Parameters :
91+
Name Type Value
92+
==================== ========================= ==========
93+
roleAssignmentName String {roleAssignmentName}
94+
roleDefinitionID String 9980e02c-c2be-4d73-94e8-173b1dc7cf3c
95+
principalId String {principalId}
96+
97+
Outputs :
98+
DeploymentDebugLogLevel :
99+
```
100+
74101
## Review deployed resources
75102
76103
1. In the Azure portal, open the resource group you created.

0 commit comments

Comments
 (0)