EventGridModelFactory.EventHubCaptureFileCreatedEventData 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 EventHubCaptureFileCreatedEventData.
public static Azure.Messaging.EventGrid.SystemEvents.EventHubCaptureFileCreatedEventData EventHubCaptureFileCreatedEventData (string fileurl = default, string fileType = default, string partitionId = default, int? sizeInBytes = default, int? eventCount = default, int? firstSequenceNumber = default, int? lastSequenceNumber = default, DateTimeOffset? firstEnqueueTime = default, DateTimeOffset? lastEnqueueTime = default);
static member EventHubCaptureFileCreatedEventData : string * string * string * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<int> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> -> Azure.Messaging.EventGrid.SystemEvents.EventHubCaptureFileCreatedEventData
Public Shared Function EventHubCaptureFileCreatedEventData (Optional fileurl As String = Nothing, Optional fileType As String = Nothing, Optional partitionId As String = Nothing, Optional sizeInBytes As Nullable(Of Integer) = Nothing, Optional eventCount As Nullable(Of Integer) = Nothing, Optional firstSequenceNumber As Nullable(Of Integer) = Nothing, Optional lastSequenceNumber As Nullable(Of Integer) = Nothing, Optional firstEnqueueTime As Nullable(Of DateTimeOffset) = Nothing, Optional lastEnqueueTime As Nullable(Of DateTimeOffset) = Nothing) As EventHubCaptureFileCreatedEventData
Parameters
- fileurl
- String
The path to the capture file.
- fileType
- String
The file type of the capture file.
- partitionId
- String
The shard ID.
- firstEnqueueTime
- Nullable<DateTimeOffset>
The first time from the queue.
- lastEnqueueTime
- Nullable<DateTimeOffset>
The last time from the queue.
Returns
A new EventHubCaptureFileCreatedEventData instance for mocking.