Skip to content

Commit

Permalink
Adding EventData schema for Microsoft.Storage.BlobTierChanged event (A…
Browse files Browse the repository at this point in the history
…zure#14049)

* Adding EventData schema for Microsoft.Storage.BlobTierChanged event

* Removing contentLength/Offset from Microsoft.Storage.BlobTierChanged data schema

* Removing BlobTierInfo from BlobTierChanged and adding new event Microsoft.Storage.AsyncOperationInitiated

* adding ContentLength for BlobTierChanged and AsyncOperationInitiated events
  • Loading branch information
Neku-microsoft authored Apr 28, 2021
1 parent e1ab90d commit 88d9023
Showing 1 changed file with 94 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,100 @@
"type": "string"
}
}
},
"StorageBlobTierChangedEventData": {
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.Storage.BlobTierChanged 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"
},
"contentType": {
"description": "The content type of the blob. This is the same as what would be returned in the Content-Type header from the blob.",
"type": "string"
},
"contentLength": {
"description": "The size of the blob in bytes. This is the same as what would be returned in the Content-Length header from the blob.",
"type": "integer",
"format": "int64"
},
"blobType": {
"description": "The type of blob.",
"type": "string"
},
"url": {
"description": "The path to the blob.",
"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"
}
}
},
"StorageAsyncOperationInitiatedEventData": {
"description": "Schema of the Data property of an EventGridEvent for a Microsoft.Storage.AsyncOperationInitiated 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"
},
"contentType": {
"description": "The content type of the blob. This is the same as what would be returned in the Content-Type header from the blob.",
"type": "string"
},
"contentLength": {
"description": "The size of the blob in bytes. This is the same as what would be returned in the Content-Length header from the blob.",
"type": "integer",
"format": "int64"
},
"blobType": {
"description": "The type of blob.",
"type": "string"
},
"url": {
"description": "The path to the blob.",
"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"
}
}
}
}
}

0 comments on commit 88d9023

Please sign in to comment.