File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
src/EventGrid/EventGrid/help Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ Regenerates the shared access key for an Azure Event Grid Domain.
40
40
Regenerate the key corresponding to key \' key1'\ of Event Grid domain \` Domain1\` in resource group \` MyResourceGroupName\` .
41
41
42
42
``` powershell
43
- New-AzEventGridDomainKey -ResourceGroup MyResourceGroupName -DomainName Domain1 -Name key1
43
+ New-AzEventGridDomainKey -ResourceGroupName MyResourceGroupName -DomainName Domain1 -Name key1
44
44
```
45
45
46
46
``` output
@@ -54,7 +54,7 @@ Key1 Key2
54
54
Regenerate the key corresponding to key \' key1'\ of Event Grid domain \` Domain1\` in resource group \` MyResourceGroupName\` .
55
55
56
56
``` powershell
57
- Get-AzEventGridDomain -ResourceGroup MyResourceGroupName -Name Domain1 | New-AzEventGridTopicKey -KeyName "key1"
57
+ Get-AzEventGridDomain -ResourceGroupName MyResourceGroupName -Name Domain1 | New-AzEventGridTopicKey -KeyName "key1"
58
58
```
59
59
60
60
``` output
@@ -68,7 +68,7 @@ Key1 Key2
68
68
Regenerate the key corresponding to key \' key2'\ of Event Grid domain \` Domain1\` in resource group \` MyResourceGroupName\` using its full resource Id.
69
69
70
70
``` 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
72
72
```
73
73
74
74
``` output
You can’t perform that action at this time.
0 commit comments