Skip to content

Commit

Permalink
update-event-schema-for-azure-storage-event-grid-notification-for-cr… (
Browse files Browse the repository at this point in the history
  • Loading branch information
wanha-ms authored and mmyyrroonn committed Oct 22, 2019
1 parent fce4dc4 commit 6405fdd
Showing 1 changed file with 167 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 deleted directory.",
"type": "string"
},
"recursive": {
"description": "Is this event for a recursive delete operation.",
"type": "boolean"
},
"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 new path to the blob after the rename operation.",
"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 new path to the directory after the rename 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"
}
}
}
}
}
}

0 comments on commit 6405fdd

Please sign in to comment.