DigitalTwinsModelFactory.DeleteJob Method

Definition

Initializes a new instance of DeleteJob.

public static Azure.DigitalTwins.Core.Models.DeleteJob DeleteJob(string id = default, Azure.DigitalTwins.Core.Models.DeleteJobStatus? status = default, DateTimeOffset? createdDateTime = default, DateTimeOffset? finishedDateTime = default, DateTimeOffset? purgeDateTime = default, Azure.DigitalTwins.Core.ErrorInformation error = default);
static member DeleteJob : string * Nullable<Azure.DigitalTwins.Core.Models.DeleteJobStatus> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Azure.DigitalTwins.Core.ErrorInformation -> Azure.DigitalTwins.Core.Models.DeleteJob
Public Shared Function DeleteJob (Optional id As String = Nothing, Optional status As Nullable(Of DeleteJobStatus) = Nothing, Optional createdDateTime As Nullable(Of DateTimeOffset) = Nothing, Optional finishedDateTime As Nullable(Of DateTimeOffset) = Nothing, Optional purgeDateTime As Nullable(Of DateTimeOffset) = Nothing, Optional error As ErrorInformation = Nothing) As DeleteJob

Parameters

id
String

The identifier of the delete job.

status
Nullable<DeleteJobStatus>

Status of the job.

createdDateTime
Nullable<DateTimeOffset>

Start time of the job. The timestamp is in RFC3339 format: yyyy-MM-ddTHH:mm:ssZ.

finishedDateTime
Nullable<DateTimeOffset>

End time of the job. The timestamp is in RFC3339 format: yyyy-MM-ddTHH:mm:ssZ.

purgeDateTime
Nullable<DateTimeOffset>

Time at which job will be purged by the service from the system. The timestamp is in RFC3339 format: yyyy-MM-ddTHH:mm:ssZ.

error
ErrorInformation

Details of the error(s) that occurred executing the import job.

Returns

A new DeleteJob instance for mocking.

Applies to