From 0770b27878eecd97a907b37fccc2ea7d3118bd37 Mon Sep 17 00:00:00 2001 From: Flynn Date: Wed, 8 Jun 2022 20:35:34 +0800 Subject: [PATCH 1/2] format the help markdown file of Az.EventGrid --- src/EventGrid/EventGrid/help/Get-AzEventGridDomainTopic.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/EventGrid/EventGrid/help/Get-AzEventGridDomainTopic.md b/src/EventGrid/EventGrid/help/Get-AzEventGridDomainTopic.md index 40930be78656..dfad9174e0a4 100644 --- a/src/EventGrid/EventGrid/help/Get-AzEventGridDomainTopic.md +++ b/src/EventGrid/EventGrid/help/Get-AzEventGridDomainTopic.md @@ -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 @@ -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 @@ -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 From 2ef9ba0517c4b763b13c1539b819c4621f887f0b Mon Sep 17 00:00:00 2001 From: Flynn Date: Thu, 9 Jun 2022 12:33:00 +0800 Subject: [PATCH 2/2] format az.eventgrid help markdown file --- src/EventGrid/EventGrid/help/New-AzEventGridSystemTopic.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/EventGrid/EventGrid/help/New-AzEventGridSystemTopic.md b/src/EventGrid/EventGrid/help/New-AzEventGridSystemTopic.md index 0341cd2ea83b..9a1ea3f2f4a1 100644 --- a/src/EventGrid/EventGrid/help/New-AzEventGridSystemTopic.md +++ b/src/EventGrid/EventGrid/help/New-AzEventGridSystemTopic.md @@ -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".