Freigeben über


Get-AzIotHubDeployment

Listet alle oder eine bestimmte IoT Edge-Bereitstellung auf.

Syntax

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

Beschreibung

Rufen Sie die Details einer IoT Edge-Bereitstellung oder Listen von IoT Edge-Bereitstellungen in einem IoT Hub ab. Weitere Informationen finden Sie unter https://learn.microsoft.com/azure/iot-edge/module-deployment-monitoring.

Beispiele

Beispiel 1

Get-AzIotHubDeployment -ResourceGroupName "myresourcegroup" -IotHubName "myiothub" -Name "deploy1"

Rufen Sie die Details einer IoT Edge-Bereitstellung ab.

Beispiel 2

Get-AzIotHubDeployment -ResourceGroupName "myresourcegroup" -IotHubName "myiothub"

Auflisten aller IoT Edge-Bereitstellungen 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 Bereitstellung.

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

PSDeployment

PSDeployments[]