Freigeben über


Get-AzIotHubConfiguration

Listet alle oder eine bestimmte automatische IoT-Geräteverwaltungskonfiguration auf.

Syntax

Get-AzIotHubConfiguration
   [-ResourceGroupName] <String>
   [-IotHubName] <String>
   [-Name <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzIotHubConfiguration
   [-InputObject] <PSIotHub>
   [-Name <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]
Get-AzIotHubConfiguration
   [-ResourceId] <String>
   [-Name <String>]
   [-DefaultProfile <IAzureContextContainer>]
   [<CommonParameters>]

Beschreibung

Rufen Sie die Details einer automatischen IoT-Geräteverwaltungskonfiguration ab oder führen Sie die automatischen IoT-Geräteverwaltungskonfigurationen in einem IoT Hub auf. Weitere Informationen finden Sie unter https://learn.microsoft.com/azure/iot-hub/iot-hub-automatic-device-management.

Beispiele

Beispiel 1

Get-AzIotHubConfiguration -ResourceGroupName "myresourcegroup" -IotHubName "myiothub" -Name "config1"

Rufen Sie die Details einer automatischen IoT-Geräteverwaltungskonfiguration ab.

Beispiel 2

Get-AzIotHubConfiguration -ResourceGroupName "myresourcegroup" -IotHubName "myiothub"

Auflisten der automatischen Geräteverwaltungskonfigurationen in einem IoT-Hub.

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

-InputObject

IotHub-Objekt

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

-IotHubName

Name des Iot Hub

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

-Name

Bezeichner für die Konfiguration.

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

-ResourceGroupName

Name der Ressourcengruppe

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

-ResourceId

IotHub-Ressourcen-ID

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

Eingaben

PSIotHub

String

Ausgaben

PSConfiguration

PSConfigurations[]