New-AzEventHubDirectDestinationObject
Create an in-memory object for EventHubDirectDestination.
Syntax
New-AzEventHubDirectDestinationObject
[-EventHubResourceId <String>]
[-Name <String>]
[<CommonParameters>]
Description
Create an in-memory object for EventHubDirectDestination.
Examples
Example 1: Create event hub direct destination object
New-AzEventHubDirectDestinationObject -EventHubResourceId /subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/AMCS-TEST/providers/Microsoft.EventHub/namespaces/amcseastushub -Name testHubDirect
EventHubResourceId Name
------------------ ----
/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/AMCS-TEST/providers/Microsoft.EventHub/namespaces/amcseastushub testHubDirect
This command creates event hub direct destination object.
Parameters
-EventHubResourceId
The resource ID of the event hub.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
A friendly name for the destination. This name should be unique across all destinations (regardless of type) within the data collection rule.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Outputs
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.
Azure PowerShell