EventGridModelFactory.StorageBlobCreatedEventData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of StorageBlobCreatedEventData.
public static Azure.Messaging.EventGrid.SystemEvents.StorageBlobCreatedEventData StorageBlobCreatedEventData (string api = default, string clientRequestId = default, string requestId = default, string eTag = default, string contentType = default, long? contentLength = default, long? contentOffset = default, string blobType = default, Azure.Messaging.EventGrid.SystemEvents.StorageBlobAccessTier accessTier = default, string url = default, string sequencer = default, string identity = default, object storageDiagnostics = default);
static member StorageBlobCreatedEventData : string * string * string * string * string * Nullable<int64> * Nullable<int64> * string * Azure.Messaging.EventGrid.SystemEvents.StorageBlobAccessTier * string * string * string * obj -> Azure.Messaging.EventGrid.SystemEvents.StorageBlobCreatedEventData
Public Shared Function StorageBlobCreatedEventData (Optional api As String = Nothing, Optional clientRequestId As String = Nothing, Optional requestId As String = Nothing, Optional eTag As String = Nothing, Optional contentType As String = Nothing, Optional contentLength As Nullable(Of Long) = Nothing, Optional contentOffset As Nullable(Of Long) = Nothing, Optional blobType As String = Nothing, Optional accessTier As StorageBlobAccessTier = Nothing, Optional url As String = Nothing, Optional sequencer As String = Nothing, Optional identity As String = Nothing, Optional storageDiagnostics As Object = Nothing) As StorageBlobCreatedEventData
Parameters
- api
- String
The name of the API/operation that triggered this event.
- clientRequestId
- String
A request id provided by the client of the storage API operation that triggered this event.
- requestId
- String
The request id generated by the Storage service for the storage API operation that triggered this event.
- eTag
- String
The etag of the blob at the time this event was triggered.
- contentType
- String
The content type of the blob. This is the same as what would be returned in the Content-Type header from the blob.
The size of the blob in bytes. This is the same as what would be returned in the Content-Length header from the blob.
- blobType
- String
The type of blob.
- accessTier
- StorageBlobAccessTier
The current tier of the blob.
- url
- String
The path to the blob.
- sequencer
- String
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.
- identity
- String
The identity of the requester that triggered this event.
- storageDiagnostics
- Object
For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers.
Returns
A new StorageBlobCreatedEventData instance for mocking.