ArmIotHubModelFactory.IotHubJobInfo Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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.