Partager via


ArmIotHubModelFactory.IotHubJobInfo Méthode

Définition

Initialise une nouvelle instance d’IotHubJobInfo.

public static Azure.ResourceManager.IotHub.Models.IotHubJobInfo IotHubJobInfo (string jobId = default, DateTimeOffset? startOn = default, DateTimeOffset? endOn = default, Azure.ResourceManager.IotHub.Models.IotHubJobType? jobType = default, Azure.ResourceManager.IotHub.Models.IotHubJobStatus? status = default, string failureReason = default, string statusMessage = default, string parentJobId = default);
static member IotHubJobInfo : string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<Azure.ResourceManager.IotHub.Models.IotHubJobType> * Nullable<Azure.ResourceManager.IotHub.Models.IotHubJobStatus> * string * string * string -> Azure.ResourceManager.IotHub.Models.IotHubJobInfo
Public Shared Function IotHubJobInfo (Optional jobId As String = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional jobType As Nullable(Of IotHubJobType) = Nothing, Optional status As Nullable(Of IotHubJobStatus) = Nothing, Optional failureReason As String = Nothing, Optional statusMessage As String = Nothing, Optional parentJobId As String = Nothing) As IotHubJobInfo

Paramètres

jobId
String

Identificateur du travail.

startOn
Nullable<DateTimeOffset>

Heure de début du travail.

endOn
Nullable<DateTimeOffset>

Heure à laquelle le travail a cessé de traiter.

jobType
Nullable<IotHubJobType>

Type du travail.

status
Nullable<IotHubJobStatus>

État du travail.

failureReason
String

Si status == a échoué, cette chaîne contient la raison de l’échec.

statusMessage
String

Message status pour le travail.

parentJobId
String

Identificateur de travail du travail parent, le cas échéant.

Retours

Une nouvelle IotHubJobInfo instance pour se moquer.

S’applique à