File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -24,8 +24,9 @@ New-AzApplicationGatewayIdentity -UserAssignedIdentityId <String> [-DefaultProfi
24
24
25
25
### Example 1
26
26
``` 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 <..>
29
30
```
30
31
31
32
In this example, we create a user assigned identity and then reference it in identity object used with Application Gateway.
You can’t perform that action at this time.
0 commit comments