Share via


EventGridModelFactory.ContainerRegistryImagePushedEventData Method

Definition

Initializes a new instance of ContainerRegistryImagePushedEventData.

public static Azure.Messaging.EventGrid.SystemEvents.ContainerRegistryImagePushedEventData ContainerRegistryImagePushedEventData (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 ContainerRegistryImagePushedEventData : 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.ContainerRegistryImagePushedEventData
Public Shared Function ContainerRegistryImagePushedEventData (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 ContainerRegistryImagePushedEventData

Parameters

id
String

The event ID.

timestamp
Nullable<DateTimeOffset>

The time at which the event occurred.

action
String

The action that encompasses the provided event.

location
String

The location of the event.

target
ContainerRegistryEventTarget

The target of the event.

request
ContainerRegistryEventRequest

The request that generated the event.

actor
ContainerRegistryEventActor

The agent that initiated the event. For most situations, this could be from the authorization context of the request.

source
ContainerRegistryEventSource

The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it.

connectedRegistry
ContainerRegistryEventConnectedRegistry

The connected registry information if the event is generated by a connected registry.

Returns

A new ContainerRegistryImagePushedEventData instance for mocking.

Applies to