Skip to content

Commit c13e3dc

Browse files
authored
Update New-AzEventHub.md
1 parent 5120088 commit c13e3dc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/EventHub/EventHub/help/New-AzEventHub.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ PS C:\> New-AzEventHub -ResourceGroupName MyResourceGroupName -NamespaceName MyN
4545
4646
PS C:\> $CreatedEventHub = Get-AzEventHub -ResourceGroupName MyResourceGroupName -Namespace MyNamespaceName -Name MyEventHubName
4747
48-
PS C:\> $createdEventHub.CaptureDescription = New-Object -TypeName Microsoft.Azure.Commands.EventHub.Models.CaptureDescriptionAttributes
48+
PS C:\> $createdEventHub.CaptureDescription = New-Object -TypeName Microsoft.Azure.Commands.EventHub.Models.PSCaptureDescriptionAttributes
4949
5050
PS C:\> $createdEventHub.CaptureDescription.Enabled = $true
5151
PS C:\> $createdEventHub.CaptureDescription.IntervalInSeconds = 120

0 commit comments

Comments
 (0)