Condividi tramite


EventGridModelFactory.DataBoxCopyStartedEventData Method

Definition

Initializes a new instance of DataBoxCopyStartedEventData.

public static Azure.Messaging.EventGrid.SystemEvents.DataBoxCopyStartedEventData DataBoxCopyStartedEventData (string serialNumber = default, Azure.Messaging.EventGrid.SystemEvents.DataBoxStageName? stageName = default, DateTimeOffset? stageTime = default);
static member DataBoxCopyStartedEventData : string * Nullable<Azure.Messaging.EventGrid.SystemEvents.DataBoxStageName> * Nullable<DateTimeOffset> -> Azure.Messaging.EventGrid.SystemEvents.DataBoxCopyStartedEventData
Public Shared Function DataBoxCopyStartedEventData (Optional serialNumber As String = Nothing, Optional stageName As Nullable(Of DataBoxStageName) = Nothing, Optional stageTime As Nullable(Of DateTimeOffset) = Nothing) As DataBoxCopyStartedEventData

Parameters

serialNumber
String

Serial Number of the device associated with the event. The list is comma separated if more than one serial number is associated.

stageName
Nullable<DataBoxStageName>

Name of the current Stage.

stageTime
Nullable<DateTimeOffset>

The time at which the stage happened.

Returns

A new DataBoxCopyStartedEventData instance for mocking.

Applies to