Skip to content

Commit f7cc9d6

Browse files
committed
help update
1 parent 1b310cf commit f7cc9d6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Network/Network/help/New-AzApplicationGatewayIdentity.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@ New-AzApplicationGatewayIdentity -UserAssignedIdentityId <String> [-DefaultProfi
2424

2525
### Example 1
2626
```powershell
27-
PS C:\>$identity = New-AzUserAssignedIdentity -Name $identityName -ResourceGroupName $rgName -Location $location
28-
PS C:\>$appgwIdentity = New-AzApplicationGatewayIdentity -UserAssignedIdentity $identity.Id
27+
PS C:\> $identity = New-AzUserAssignedIdentity -Name $identityName -ResourceGroupName $rgName -Location $location
28+
PS C:\> $appgwIdentity = New-AzApplicationGatewayIdentity -UserAssignedIdentity $identity.Id
29+
PS C:\> $gateway = New-AzApplicationGateway -Name "AppGateway01" -ResourceGroupName "ResourceGroup01" -Location "West US" -Identity $appgwIdentity <..>
2930
```
3031

3132
In this example, we create a user assigned identity and then reference it in identity object used with Application Gateway.

0 commit comments

Comments
 (0)