共用方式為


EventGridModelFactory.ContainerRegistryChartPushedEventData 方法

定義

初始化 ContainerRegistryChartPushedEventData 的新實例。

public static Azure.Messaging.EventGrid.SystemEvents.ContainerRegistryChartPushedEventData ContainerRegistryChartPushedEventData (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 ContainerRegistryChartPushedEventData : string * Nullable<DateTimeOffset> * string * string * Azure.Messaging.EventGrid.SystemEvents.ContainerRegistryArtifactEventTarget * Azure.Messaging.EventGrid.SystemEvents.ContainerRegistryEventConnectedRegistry -> Azure.Messaging.EventGrid.SystemEvents.ContainerRegistryChartPushedEventData
Public Shared Function ContainerRegistryChartPushedEventData (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 ContainerRegistryChartPushedEventData

參數

id
String

事件識別碼。

timestamp
Nullable<DateTimeOffset>

事件發生的時間。

action
String

包含所提供事件的動作。

location
String

事件的位置。

target
ContainerRegistryArtifactEventTarget

事件的目標。

connectedRegistry
ContainerRegistryEventConnectedRegistry

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

傳回

模擬的新 ContainerRegistryChartPushedEventData 實例。

適用於