New-AzEventHubDestinationObject
Create an in-memory object for EventHubDestination.
Syntax
New-AzEventHubDestinationObject
[-EventHubResourceId <String>]
[-Name <String>]
[<CommonParameters>]
Description
Create an in-memory object for EventHubDestination.
Examples
Example 1: Create event hub destination object
New-AzEventHubDestinationObject -EventHubResourceId /subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/AMCS-TEST/providers/Microsoft.EventHub/namespaces/amcseastushub -Name testHub
EventHubResourceId Name
------------------ ----
/subscriptions/9e223dbe-3399-4e19-88eb-0975f02ac87f/resourceGroups/AMCS-TEST/providers/Microsoft.EventHub/namespaces/amcseastushub testHub
This command creates event hub 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
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Azure PowerShell