Freigeben über


Get-AzIotHubEventHubConsumerGroup

Ruft alle eventhub Consumergroups ab.

Syntax

Get-AzIotHubEventHubConsumerGroup
   [-ResourceGroupName] <String>
   [-Name] <String>
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Beschreibung

Ruft alle eventhub Consumergroups für die verschiedenen EventHubs ab, die von IotHub verwendet werden.

Beispiele

Beispiel 1 Ruft alle eventhub Consumergroups für den Telemetrieereignishub ab.

Get-AzIotHubEventHubConsumerGroup -ResourceGroupName "myresourcegroup" -Name "myiothub"

Ruft alle eventhub Consumergroups für den Telemetrieereignishub für das iothub mit dem Namen "myiothub" ab.

Parameter

-DefaultProfile

Anmeldeinformationen, Konto, Mandant und Abonnement für die Kommunikation mit Azure

Typ:IAzureContextContainer
Aliases:AzContext, AzureRmContext, AzureCredential
Position:Named
Standardwert:None
Erforderlich:False
Accept pipeline input:False
Accept wildcard characters:False

-Name

Name des IotHub

Typ:String
Position:1
Standardwert:None
Erforderlich:True
Accept pipeline input:True
Accept wildcard characters:False

-ResourceGroupName

Ressourcengruppenname

Typ:String
Position:0
Standardwert:None
Erforderlich:True
Accept pipeline input:True
Accept wildcard characters:False

Eingaben

String

Ausgaben

PSEventHubConsumerGroupInfo