EventGridModelFactory.DataBoxCopyCompletedEventData 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 DataBoxCopyCompletedEventData.
public static Azure.Messaging.EventGrid.SystemEvents.DataBoxCopyCompletedEventData DataBoxCopyCompletedEventData (string serialNumber = default, Azure.Messaging.EventGrid.SystemEvents.DataBoxStageName? stageName = default, DateTimeOffset? stageTime = default);
static member DataBoxCopyCompletedEventData : string * Nullable<Azure.Messaging.EventGrid.SystemEvents.DataBoxStageName> * Nullable<DateTimeOffset> -> Azure.Messaging.EventGrid.SystemEvents.DataBoxCopyCompletedEventData
Public Shared Function DataBoxCopyCompletedEventData (Optional serialNumber As String = Nothing, Optional stageName As Nullable(Of DataBoxStageName) = Nothing, Optional stageTime As Nullable(Of DateTimeOffset) = Nothing) As DataBoxCopyCompletedEventData
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 DataBoxCopyCompletedEventData instance for mocking.