Freigeben über


Get-AzIotHubRegistryStatistic

Ruft die RegistryStatistics für einen IotHub ab.

Syntax

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

Beschreibung

Ruft die RegistryStatistics für einen IotHub ab. Dies enthält Informationen zur Anzahl der gesamtzahl, aktivierten und deaktivierten Geräte in einem IotHub.

Beispiele

Beispiel 1 Abrufen der RegistryStatistics

Get-AzIotHubRegistryStatistic -ResourceGroupName "myresourcegroup" -Name "myiothub"

Ruft die RegistryStatistics für 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 IoT-Hubs.

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

PSIotHubRegistryStatistics