共用方式為


EventGridModelFactory.ContainerRegistryImageDeletedEventData 方法

定義

初始化 ContainerRegistryImageDeletedEventData 的新實例。

public static Azure.Messaging.EventGrid.SystemEvents.ContainerRegistryImageDeletedEventData ContainerRegistryImageDeletedEventData (string id = default, DateTimeOffset? timestamp = default, string action = default, string location = default, Azure.Messaging.EventGrid.SystemEvents.ContainerRegistryEventTarget target = default, Azure.Messaging.EventGrid.SystemEvents.ContainerRegistryEventRequest request = default, Azure.Messaging.EventGrid.SystemEvents.ContainerRegistryEventActor actor = default, Azure.Messaging.EventGrid.SystemEvents.ContainerRegistryEventSource source = default, Azure.Messaging.EventGrid.SystemEvents.ContainerRegistryEventConnectedRegistry connectedRegistry = default);
static member ContainerRegistryImageDeletedEventData : string * Nullable<DateTimeOffset> * string * string * Azure.Messaging.EventGrid.SystemEvents.ContainerRegistryEventTarget * Azure.Messaging.EventGrid.SystemEvents.ContainerRegistryEventRequest * Azure.Messaging.EventGrid.SystemEvents.ContainerRegistryEventActor * Azure.Messaging.EventGrid.SystemEvents.ContainerRegistryEventSource * Azure.Messaging.EventGrid.SystemEvents.ContainerRegistryEventConnectedRegistry -> Azure.Messaging.EventGrid.SystemEvents.ContainerRegistryImageDeletedEventData
Public Shared Function ContainerRegistryImageDeletedEventData (Optional id As String = Nothing, Optional timestamp As Nullable(Of DateTimeOffset) = Nothing, Optional action As String = Nothing, Optional location As String = Nothing, Optional target As ContainerRegistryEventTarget = Nothing, Optional request As ContainerRegistryEventRequest = Nothing, Optional actor As ContainerRegistryEventActor = Nothing, Optional source As ContainerRegistryEventSource = Nothing, Optional connectedRegistry As ContainerRegistryEventConnectedRegistry = Nothing) As ContainerRegistryImageDeletedEventData

參數

id
String

事件識別碼。

timestamp
Nullable<DateTimeOffset>

事件發生的時間。

action
String

包含所提供事件的動作。

location
String

事件的位置。

target
ContainerRegistryEventTarget

事件的目標。

request
ContainerRegistryEventRequest

產生事件的要求。

actor
ContainerRegistryEventActor

起始事件的代理程式。 在大部分情況下,這可能是來自要求的授權內容。

source
ContainerRegistryEventSource

產生事件的登錄節點。 也就是說,actor 啟始事件,而 source 產生事件。

connectedRegistry
ContainerRegistryEventConnectedRegistry

如果事件是由連接的登錄所產生,則為連接的登錄資訊。

傳回

模擬的新 ContainerRegistryImageDeletedEventData 實例。

適用於