Freigeben über


Get-AzIotHubJob

Ruft die Informationen zu einem IotHub-Auftrag ab.

Syntax

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

Beschreibung

Ruft die Informationen zu einem IotHub-Auftrag ab. Ein IotHub-Auftrag wird erstellt, wenn ein Import- oder Exportvorgang mithilfe der Befehle New-AzIotHubExportDevices oder New-AzIotHubImportDevices initialisiert wird. Sie können entweder alle Aufträge auflisten oder die Aufträge nach dem Auftragsbezeichner filtern.

Beispiele

Beispiel 1 Liste aller Aufträge

Get-AzIotHubJob -ResourceGroupName "myresourcegroup" -Name "myiothub"

Ruft alle Aufträge für iotHub mit dem Namen "myiothub" ab.

Beispiel 2 Abrufen eines bestimmten Auftrags

Get-AzIotHubJob -ResourceGroupName "myresourcegroup" -Name "myiothub" -JobId 3630fc31-4caa-43e8-a232-ea0577221cb2

Ruft Informationen zum Auftrag mit dem Bezeichner "3630fc31-4caa-43e8-a232-ea0577221cb2" für den IotHub namens "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

-JobId

Der Auftragsbezeichner.

Typ:String
Position:2
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

PSIotHubJobResponse