Skip to content

Commit db45a78

Browse files
Merge pull request #276834 from mikewill4/patch-69
[SFTP] Add details for new SftpWrite event
2 parents a1a2dc4 + bd1abf1 commit db45a78

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/event-grid/event-schema-blob-storage.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Azure Blob Storage as Event Grid source
33
description: Describes the properties that are provided for blob storage events with Azure Event Grid
44
ms.topic: conceptual
5-
ms.date: 01/10/2024
5+
ms.date: 05/31/2024
66
---
77

88
# Azure Blob Storage as an Event Grid source
@@ -621,7 +621,7 @@ These events are triggered if you enable a hierarchical namespace on the storage
621621

622622
|Event name|Description|
623623
|----------|-----------|
624-
| [Microsoft.Storage.BlobCreated](#microsoftstorageblobcreated-event-sftp) |Triggered when a blob is created or overwritten. <br>Specifically, this event is triggered when clients use the `put` operation, which corresponds to the `SftpCreate` and `SftpCommit` APIs. An empty blob is created when the file is opened and the uploaded contents are committed when the file is closed.|
624+
| [Microsoft.Storage.BlobCreated](#microsoftstorageblobcreated-event-sftp) |Triggered when a blob is created or overwritten. <br>Specifically, this event is triggered when clients use the `put` operation, which corresponds to the `SftpCreate` and `SftpCommit` APIs. An empty blob is created when the file is opened and the uploaded contents are committed when the file is closed. If the `SFTP Resumable Uploads` preview feature is enabled then some `SftpWrite` events will also be triggered during the upload.|
625625
| [Microsoft.Storage.BlobDeleted](#microsoftstorageblobdeleted-event-sftp) |Triggered when a blob is deleted. <br>Specifically, this event is also triggered when clients call the `rm` operation, which corresponds to the `SftpRemove` API.|
626626
| [Microsoft.Storage.BlobRenamed](#microsoftstorageblobrenamed-event-sftp) |Triggered when a blob is renamed. <br>Specifically, this event is triggered when clients use the `rename` operation on files, which corresponds to the `SftpRename` API.|
627627
| [Microsoft.Storage.DirectoryCreated](#microsoftstoragedirectorycreated-event-sftp) |Triggered when a directory is created. <br>Specifically, this event is triggered when clients use the `mkdir` operation, which corresponds to the `SftpMakeDir` API.|
@@ -640,7 +640,7 @@ If the blob storage account uses SFTP to create or overwrite a blob, then the da
640640

641641
* The `dataVersion` key is set to a value of `3`.
642642

643-
* The `data.api` key is set to the string `SftpCreate` or `SftpCommit`.
643+
* The `data.api` key is set to the string `SftpCreate`, `SftpWrite`, or `SftpCommit`.
644644

645645
* The `clientRequestId` key isn't included.
646646

@@ -651,7 +651,7 @@ If the blob storage account uses SFTP to create or overwrite a blob, then the da
651651
* The `identity` key is included in the data set. This corresponds to the local user used for SFTP authentication.
652652

653653
> [!NOTE]
654-
> SFTP uploads will generate 2 events. One `SftpCreate` for an initial empty blob created when opening the file and one `SftpCommit` when the file contents are written.
654+
> SFTP uploads will generate 2 events. One `SftpCreate` for an initial empty blob created when opening the file and one `SftpCommit` when the file contents are committed at the end of the upload. If the `SFTP Resumable Uploads` preview feature is enabled then some `SftpWrite` events will also be triggered during the upload.
655655
656656
```json
657657
[{

0 commit comments

Comments
 (0)