共用方式為


EventGridModelFactory.StorageAsyncOperationInitiatedEventData Method

Definition

Initializes a new instance of StorageAsyncOperationInitiatedEventData.

public static Azure.Messaging.EventGrid.SystemEvents.StorageAsyncOperationInitiatedEventData StorageAsyncOperationInitiatedEventData (string api = default, string clientRequestId = default, string requestId = default, string contentType = default, long? contentLength = default, string blobType = default, string url = default, string sequencer = default, string identity = default, object storageDiagnostics = default);
static member StorageAsyncOperationInitiatedEventData : string * string * string * string * Nullable<int64> * string * string * string * string * obj -> Azure.Messaging.EventGrid.SystemEvents.StorageAsyncOperationInitiatedEventData
Public Shared Function StorageAsyncOperationInitiatedEventData (Optional api As String = Nothing, Optional clientRequestId As String = Nothing, Optional requestId As String = Nothing, Optional contentType As String = Nothing, Optional contentLength As Nullable(Of Long) = Nothing, Optional blobType As String = Nothing, Optional url As String = Nothing, Optional sequencer As String = Nothing, Optional identity As String = Nothing, Optional storageDiagnostics As Object = Nothing) As StorageAsyncOperationInitiatedEventData

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.

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.

blobType
String

The type of 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 StorageAsyncOperationInitiatedEventData instance for mocking.

Applies to