共用方式為


EventGridModelFactory.ContainerRegistryChartDeletedEventData 方法

定義

初始化 ContainerRegistryChartDeletedEventData 的新實例。

public static Azure.Messaging.EventGrid.SystemEvents.ContainerRegistryChartDeletedEventData ContainerRegistryChartDeletedEventData (string id = default, DateTimeOffset? timestamp = default, string action = default, string location = default, Azure.Messaging.EventGrid.SystemEvents.ContainerRegistryArtifactEventTarget target = default, Azure.Messaging.EventGrid.SystemEvents.ContainerRegistryEventConnectedRegistry connectedRegistry = default);
static member ContainerRegistryChartDeletedEventData : string * Nullable<DateTimeOffset> * string * string * Azure.Messaging.EventGrid.SystemEvents.ContainerRegistryArtifactEventTarget * Azure.Messaging.EventGrid.SystemEvents.ContainerRegistryEventConnectedRegistry -> Azure.Messaging.EventGrid.SystemEvents.ContainerRegistryChartDeletedEventData
Public Shared Function ContainerRegistryChartDeletedEventData (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 ContainerRegistryArtifactEventTarget = Nothing, Optional connectedRegistry As ContainerRegistryEventConnectedRegistry = Nothing) As ContainerRegistryChartDeletedEventData

參數

id
String

事件識別碼。

timestamp
Nullable<DateTimeOffset>

事件發生的時間。

action
String

包含所提供事件的動作。

location
String

事件的位置。

target
ContainerRegistryArtifactEventTarget

事件的目標。

connectedRegistry
ContainerRegistryEventConnectedRegistry

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

傳回

模擬的新 ContainerRegistryChartDeletedEventData 實例。

適用於