共用方式為


EventGridModelFactory.StorageBlobCreatedEventData Method

Definition

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.

contentLength
Nullable<Int64>

The size of the blob in bytes. This is the same as what would be returned in the Content-Length header from the blob.

contentOffset
Nullable<Int64>

The offset of the blob in bytes.

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.

Applies to