Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update-event-schema-for-azure-storage-event-grid-notification-for-cr… #7509

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
"version": "2018-01-01",
"version": "2019-10-01",
"title": "Schema of Azure Storage events published to Azure Event Grid",
"description": "Describes the schema of the Azure Storage events published to Azure Event Grid. This corresponds to the Data property of an EventGridEvent."
},
Expand All @@ -24,7 +24,7 @@
"type": "string"
},
"eTag": {
"description": "The etag of the object at the time this event was triggered.",
"description": "The etag of the blob at the time this event was triggered.",
"type": "string"
},
"contentType": {
Expand All @@ -36,6 +36,11 @@
"type": "integer",
"format": "int64"
},
"contentOffset": {
"description": "The offset of the blob in bytes.",
"type": "integer",
"format": "int64"
},
"blobType": {
"description": "The type of blob.",
"type": "string"
Expand All @@ -48,6 +53,10 @@
"description": "An opaque string value representing the logical sequence of events for any particular blob name. Users can use standard string comparison to understand the relative sequence of two events on the same blob name.",
"type": "string"
},
"identity": {
"description": "The identity of the requester that triggered this event.",
"type": "string"
},
"storageDiagnostics": {
"description": "For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers.",
"type": "object"
Expand Down Expand Up @@ -86,11 +95,167 @@
"description": "An opaque string value representing the logical sequence of events for any particular blob name. Users can use standard string comparison to understand the relative sequence of two events on the same blob name.",
"type": "string"
},
"identity": {
"description": "The identity of the requester that triggered this event.",
"type": "string"
},
"storageDiagnostics": {
"description": "For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers.",
"type": "object"
}
}
},
"StorageDirectoryCreatedEventData": {
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Storage.DirectoryCreated event.",
"type": "object",
"properties": {
"api": {
"description": "The name of the API/operation that triggered this event.",
"type": "string"
},
"clientRequestId": {
"description": "A request id provided by the client of the storage API operation that triggered this event.",
"type": "string"
},
"requestId": {
"description": "The request id generated by the storage service for the storage API operation that triggered this event.",
"type": "string"
},
"eTag": {
"description": "The etag of the directory at the time this event was triggered.",
"type": "string"
},
"url": {
"description": "The path to the directory.",
"type": "string"
},
"sequencer": {
"description": "An opaque string value representing the logical sequence of events for any particular directory name. Users can use standard string comparison to understand the relative sequence of two events on the same directory name.",
"type": "string"
},
"identity": {
"description": "The identity of the requester that triggered this event.",
"type": "string"
},
"storageDiagnostics": {
"description": "For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers.",
"type": "object"
}
}
},
"StorageDirectoryDeletedEventData": {
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Storage.DirectoryDeleted event.",
"type": "object",
"properties": {
"api": {
"description": "The name of the API/operation that triggered this event.",
"type": "string"
},
"clientRequestId": {
"description": "A request id provided by the client of the storage API operation that triggered this event.",
"type": "string"
},
"requestId": {
"description": "The request id generated by the storage service for the storage API operation that triggered this event.",
"type": "string"
},
"url": {
"description": "The path to the directory deleted.",
"type": "string"
},
"recursive": {
"description": "Is this event for a recursive delete operation.",
"type": "string"
},
"sequencer": {
"description": "An opaque string value representing the logical sequence of events for any particular directory name. Users can use standard string comparison to understand the relative sequence of two events on the same directory name.",
"type": "string"
},
"identity": {
"description": "The identity of the requester that triggered this event.",
"type": "string"
},
"storageDiagnostics": {
"description": "For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers.",
"type": "object"
}
}
},
"StorageBlobRenamedEventData": {
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Storage.BlobRenamed event.",
"type": "object",
"properties": {
"api": {
"description": "The name of the API/operation that triggered this event.",
"type": "string"
},
"clientRequestId": {
"description": "A request id provided by the client of the storage API operation that triggered this event.",
"type": "string"
},
"requestId": {
"description": "The request id generated by the storage service for the storage API operation that triggered this event.",
"type": "string"
},
"sourceUrl": {
"description": "The path to the blob that was renamed.",
"type": "string"
},
"destinationUrl": {
"description": "The path to the blob that was rename to.",
"type": "string"
},
"sequencer": {
"description": "An opaque string value representing the logical sequence of events for any particular blob name. Users can use standard string comparison to understand the relative sequence of two events on the same blob name.",
"type": "string"
},
"identity": {
"description": "The identity of the requester that triggered this event.",
"type": "string"
},
"storageDiagnostics": {
"description": "For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers.",
"type": "object"
}
}
},
"StorageDirectoryRenamedEventData": {
"description": "Schema of the Data property of an EventGridEvent for an Microsoft.Storage.DirectoryRenamed event.",
"type": "object",
"properties": {
"api": {
"description": "The name of the API/operation that triggered this event.",
"type": "string"
},
"clientRequestId": {
"description": "A request id provided by the client of the storage API operation that triggered this event.",
"type": "string"
},
"requestId": {
"description": "The request id generated by the storage service for the storage API operation that triggered this event.",
"type": "string"
},
"sourceUrl": {
"description": "The path to the directory that was renamed.",
"type": "string"
},
"destinationUrl": {
"description": "The path to the directory that was rename to.",
"type": "string"
},
"sequencer": {
"description": "An opaque string value representing the logical sequence of events for any particular directory name. Users can use standard string comparison to understand the relative sequence of two events on the same directory name.",
"type": "string"
},
"identity": {
"description": "The identity of the requester that triggered this event.",
"type": "string"
},
"storageDiagnostics": {
"description": "For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers.",
"type": "object"
}
}
}
}
}
}