ArmIotHubModelFactory.IotHubJobInfo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of 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
Parameters
- jobId
- String
The job identifier.
- startOn
- Nullable<DateTimeOffset>
The start time of the job.
- endOn
- Nullable<DateTimeOffset>
The time the job stopped processing.
- jobType
- Nullable<IotHubJobType>
The type of the job.
- status
- Nullable<IotHubJobStatus>
The status of the job.
- failureReason
- String
If status == failed, this string containing the reason for the failure.
- statusMessage
- String
The status message for the job.
- parentJobId
- String
The job identifier of the parent job, if any.
Returns
A new IotHubJobInfo instance for mocking.