Skip to content

Commit

Permalink
format the help markdown file of Az.EventGrid (#18436)
Browse files Browse the repository at this point in the history
* format the help markdown file of Az.EventGrid

* format az.eventgrid help markdown file
  • Loading branch information
CaptainFanZzz authored Jun 22, 2022
1 parent 7921911 commit ea541cd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/EventGrid/EventGrid/help/Get-AzEventGridDomainTopic.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ List all the Event Grid domain topics under Event Grid domain \`Domain1\` in res

```powershell
$result=Get-AzEventGridDomainTopic -ResourceGroup MyResourceGroupName -DomainName Domain1
echo $result.PsDomainTopicsList
Write-Output $result.PsDomainTopicsList
```

```output
Expand Down Expand Up @@ -112,7 +112,7 @@ List all the Event Grid domain topics under Event Grid domain \`Domain1\` in res

```powershell
$result=Get-AzEventGridDomainTopic -ResourceId "/subscriptions/$subscriptionId/resourceGroups/MyResourceGroupName/providers/Microsoft.EventGrid/domains/Domain1"
echo $result.PsDomainTopicsList
Write-Output $result.PsDomainTopicsList
```

```output
Expand Down Expand Up @@ -155,7 +155,7 @@ while ($result.NextLink -ne $Null)
$total += $result.Count
}
echo "Total number of domain topics is $Total"
Write-Output "Total number of domain topics is $Total"
```

## PARAMETERS
Expand Down
2 changes: 1 addition & 1 deletion src/EventGrid/EventGrid/help/New-AzEventGridSystemTopic.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ Creates an Event Grid System topic \`Topic1\` for the Azure ServiceBus namespac

### Example 2
```powershell
New-AzEventGridTopic -ResourceGroupName MyResourceGroupName -Name Topic1 -Source ServiceBusNamespaceResourceId -TopicType 'Microsoft.ServiceBus.Namespaces' -Location westus2 -Tag @{ Department="Finance"; Environment="Test" }
New-AzEventGridSystemTopic -ResourceGroupName MyResourceGroupName -Name Topic1 -Source ServiceBusNamespaceResourceId -TopicType 'Microsoft.ServiceBus.Namespaces' -Location westus2 -Tag @{ Department="Finance"; Environment="Test" }
```

Creates an Event Grid System topic \`Topic1\` for the Azure ServiceBus namespace with resource id \`ServiceBusNamespaceResourceId\` in the specified geographic location \`westus2\`, in resource group \`MyResourceGroupName\` with the specified tags "Department" and "Environment".
Expand Down

0 comments on commit ea541cd

Please sign in to comment.