Skip to content

Commit 1d849ce

Browse files
Fix Az.EventGrid Syntax Errors (#17593)
1 parent 6a0c8ad commit 1d849ce

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/EventGrid/EventGrid/help/New-AzEventGridDomainKey.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Regenerates the shared access key for an Azure Event Grid Domain.
4040
Regenerate the key corresponding to key \'key1'\ of Event Grid domain \`Domain1\` in resource group \`MyResourceGroupName\`.
4141

4242
```powershell
43-
New-AzEventGridDomainKey -ResourceGroup MyResourceGroupName -DomainName Domain1 -Name key1
43+
New-AzEventGridDomainKey -ResourceGroupName MyResourceGroupName -DomainName Domain1 -Name key1
4444
```
4545

4646
```output
@@ -54,7 +54,7 @@ Key1 Key2
5454
Regenerate the key corresponding to key \'key1'\ of Event Grid domain \`Domain1\` in resource group \`MyResourceGroupName\`.
5555

5656
```powershell
57-
Get-AzEventGridDomain -ResourceGroup MyResourceGroupName -Name Domain1 | New-AzEventGridTopicKey -KeyName "key1"
57+
Get-AzEventGridDomain -ResourceGroupName MyResourceGroupName -Name Domain1 | New-AzEventGridTopicKey -KeyName "key1"
5858
```
5959

6060
```output
@@ -68,7 +68,7 @@ Key1 Key2
6868
Regenerate the key corresponding to key \'key2'\ of Event Grid domain \`Domain1\` in resource group \`MyResourceGroupName\` using its full resource Id.
6969

7070
```powershell
71-
New-AzEventGridDomainKey -ResourceId /subscriptions/$subscriptionId/resourceGroups/MyResourceGroupName/providers/Microsoft.EventGrid/domains/Domain1 -KeyName Key2
71+
New-AzEventGridDomainKey -DomainResourceId /subscriptions/$subscriptionId/resourceGroups/MyResourceGroupName/providers/Microsoft.EventGrid/domains/Domain1 -KeyName Key2
7272
```
7373

7474
```output

0 commit comments

Comments
 (0)