New-AzActionGroupEventHubReceiverObject
Creare un oggetto in memoria per EventHubReceiver.
Sintassi
New-AzActionGroupEventHubReceiverObject
-EventHubName <String>
-EventHubNameSpace <String>
-Name <String>
-SubscriptionId <String>
[-TenantId <String>]
[-UseCommonAlertSchema <Boolean>]
[<CommonParameters>]
Descrizione
Creare un oggetto in memoria per EventHubReceiver.
Esempio
Esempio 1: creare il ricevitore dell'hub eventi del gruppo di azioni
New-AzActionGroupEventHubReceiverObject -EventHubName "testEventHub" -EventHubNameSpace "testEventHubNameSpace" -Name "sample eventhub" -SubscriptionId "187f412d-1758-44d9-b052-169e2564721d" -TenantId "68a4459a-ccb8-493c-b9da-dd30457d1b84"
EventHubName : testEventHub
EventHubNameSpace : testEventHubNameSpace
Name : sample eventhub
SubscriptionId : 187f412d-1758-44d9-b052-169e2564721d
TenantId : 68a4459a-ccb8-493c-b9da-dd30457d1b84
UseCommonAlertSchema :
Questo comando crea l'oggetto ricevitore dell'hub eventi del gruppo di azioni.
Esempio 2: creare un altro ricevitore dell'hub eventi del gruppo di azioni
New-AzActionGroupEventHubReceiverObject -EventHubName "testEventHub" -EventHubNameSpace "actiongrouptest" -Name "sample eventhub" -SubscriptionId 9e223dbe-3399-4e19-88eb-0975f02ac87f
EventHubName : testEventHub
EventHubNameSpace : actiongrouptest
Name : sample eventhub
SubscriptionId : 9e223dbe-3399-4e19-88eb-0975f02ac87f
TenantId :
UseCommonAlertSchema :
Questo comando crea un altro oggetto ricevitore dell'hub eventi del gruppo di azioni.
Parametri
-EventHubName
Nome della coda dell'hub eventi specifica.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-EventHubNameSpace
Spazio dei nomi dell'hub eventi.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-Name
Nome del ricevitore dell'hub eventi. I nomi devono essere univoci in tutti i ricevitori all'interno di un gruppo di azioni.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-SubscriptionId
ID della sottoscrizione contenente questo hub eventi.
Type: | String |
Position: | Named |
Default value: | None |
Required: | True |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-TenantId
ID tenant per la sottoscrizione contenente questo hub eventi.
Type: | String |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
-UseCommonAlertSchema
Indica se utilizzare lo schema di avviso comune.
Type: | Boolean |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Output
Commenti e suggerimenti
https://aka.ms/ContentUserFeedback.
Presto disponibile: Nel corso del 2024 verranno gradualmente disattivati i problemi di GitHub come meccanismo di feedback per il contenuto e ciò verrà sostituito con un nuovo sistema di feedback. Per altre informazioni, vedereInvia e visualizza il feedback per