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.
Tipo: | String |
Posizione: | Named |
Valore predefinito: | None |
Necessario: | True |
Accettare l'input della pipeline: | False |
Accettare caratteri jolly: | False |
-EventHubNameSpace
Spazio dei nomi dell'hub eventi.
Tipo: | String |
Posizione: | Named |
Valore predefinito: | None |
Necessario: | True |
Accettare l'input della pipeline: | False |
Accettare caratteri jolly: | False |
-Name
Nome del ricevitore dell'hub eventi. I nomi devono essere univoci in tutti i ricevitori all'interno di un gruppo di azioni.
Tipo: | String |
Posizione: | Named |
Valore predefinito: | None |
Necessario: | True |
Accettare l'input della pipeline: | False |
Accettare caratteri jolly: | False |
-SubscriptionId
ID della sottoscrizione contenente questo hub eventi.
Tipo: | String |
Posizione: | Named |
Valore predefinito: | None |
Necessario: | True |
Accettare l'input della pipeline: | False |
Accettare caratteri jolly: | False |
-TenantId
ID tenant per la sottoscrizione contenente questo hub eventi.
Tipo: | String |
Posizione: | Named |
Valore predefinito: | None |
Necessario: | False |
Accettare l'input della pipeline: | False |
Accettare caratteri jolly: | False |
-UseCommonAlertSchema
Indica se utilizzare lo schema di avviso comune.
Tipo: | Boolean |
Posizione: | Named |
Valore predefinito: | None |
Necessario: | False |
Accettare l'input della pipeline: | False |
Accettare caratteri jolly: | False |