Skip to content

Commit

Permalink
fix (#32566)
Browse files Browse the repository at this point in the history
Co-authored-by: Laurent Mazuel <[email protected]>
  • Loading branch information
l0lawrence and lmazuel authored Mar 3, 2025
1 parent 670a1bf commit 203d98d
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,25 +6,29 @@ namespace Microsoft.EventGrid.SystemEvents;
/** Schema of the Data property of an EventGridEvent for a Microsoft.EventHub.CaptureFileCreated event. */
model EventHubCaptureFileCreatedEventData {
/** The path to the capture file. */
fileUrl?: string;
fileUrl: string;

/** The file type of the capture file. */
fileType?: string;
fileType: string;

/** The shard ID. */
partitionId?: string;
partitionId: string;

/** The file size. */
sizeInBytes?: int32;
@madeRequired(ServiceApiVersions.v2024_01_01)
sizeInBytes: int32;

/** The number of events in the file. */
eventCount?: int32;
@madeRequired(ServiceApiVersions.v2024_01_01)
eventCount: int32;

/** The smallest sequence number from the queue. */
firstSequenceNumber?: int32;
@madeRequired(ServiceApiVersions.v2024_01_01)
firstSequenceNumber: int32;

/** The last sequence number from the queue. */
lastSequenceNumber?: int32;
@madeRequired(ServiceApiVersions.v2024_01_01)
lastSequenceNumber: int32;

/** The first time from the queue. */
@madeRequired(ServiceApiVersions.v2024_01_01)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4344,7 +4344,12 @@
"format": "date-time",
"description": "The last time from the queue."
}
}
},
"required": [
"fileUrl",
"fileType",
"partitionId"
]
},
"HealthcareDicomImageCreatedEventData": {
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4429,6 +4429,13 @@
}
},
"required": [
"fileUrl",
"fileType",
"partitionId",
"sizeInBytes",
"eventCount",
"firstSequenceNumber",
"lastSequenceNumber",
"firstEnqueueTime",
"lastEnqueueTime"
]
Expand Down

0 comments on commit 203d98d

Please sign in to comment.