共用方式為


EventGridModelFactory.StorageBlobTierChangedEventData Method

Definition

Initializes a new instance of StorageBlobTierChangedEventData.

public static Azure.Messaging.EventGrid.SystemEvents.StorageBlobTierChangedEventData StorageBlobTierChangedEventData (string api = default, string clientRequestId = default, string requestId = default, string contentType = default, long? contentLength = default, string blobType = default, Azure.Messaging.EventGrid.SystemEvents.StorageBlobAccessTier accessTier = default, Azure.Messaging.EventGrid.SystemEvents.StorageBlobAccessTier previousTier = default, string url = default, string sequencer = default, string identity = default, object storageDiagnostics = default);
static member StorageBlobTierChangedEventData : string * string * string * string * Nullable<int64> * string * Azure.Messaging.EventGrid.SystemEvents.StorageBlobAccessTier * Azure.Messaging.EventGrid.SystemEvents.StorageBlobAccessTier * string * string * string * obj -> Azure.Messaging.EventGrid.SystemEvents.StorageBlobTierChangedEventData
Public Shared Function StorageBlobTierChangedEventData (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 accessTier As StorageBlobAccessTier = Nothing, Optional previousTier As StorageBlobAccessTier = Nothing, Optional url As String = Nothing, Optional sequencer As String = Nothing, Optional identity As String = Nothing, Optional storageDiagnostics As Object = Nothing) As StorageBlobTierChangedEventData

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.

accessTier
StorageBlobAccessTier

The current tier of the blob.

previousTier
StorageBlobAccessTier

The previous 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 StorageBlobTierChangedEventData instance for mocking.

Applies to