Share via


EventGridModelFactory.StorageTaskCompletedEventData Method

Definition

Initializes a new instance of StorageTaskCompletedEventData.

public static Azure.Messaging.EventGrid.SystemEvents.StorageTaskCompletedEventData StorageTaskCompletedEventData (Azure.Messaging.EventGrid.SystemEvents.StorageTaskCompletedStatus? status = default, DateTimeOffset? completedDateTime = default, string taskExecutionId = default, string taskName = default, Uri summaryReportBlobUri = default);
static member StorageTaskCompletedEventData : Nullable<Azure.Messaging.EventGrid.SystemEvents.StorageTaskCompletedStatus> * Nullable<DateTimeOffset> * string * string * Uri -> Azure.Messaging.EventGrid.SystemEvents.StorageTaskCompletedEventData
Public Shared Function StorageTaskCompletedEventData (Optional status As Nullable(Of StorageTaskCompletedStatus) = Nothing, Optional completedDateTime As Nullable(Of DateTimeOffset) = Nothing, Optional taskExecutionId As String = Nothing, Optional taskName As String = Nothing, Optional summaryReportBlobUri As Uri = Nothing) As StorageTaskCompletedEventData

Parameters

status
Nullable<StorageTaskCompletedStatus>

The status for a storage task.

completedDateTime
Nullable<DateTimeOffset>

The time at which a storage task was completed.

taskExecutionId
String

The execution id for a storage task.

taskName
String

The task name for a storage task.

summaryReportBlobUri
Uri

The summary report blob url for a storage task.

Returns

A new StorageTaskCompletedEventData instance for mocking.

Applies to