Share via


EventContent Constructors

Definition

Overloads

EventContent()

Initializes a new instance of the EventContent class.

EventContent(String, Nullable<DateTime>, String, Target, Request, Actor, Source)

Initializes a new instance of the EventContent class.

EventContent()

Initializes a new instance of the EventContent class.

public EventContent ();
Public Sub New ()

Applies to

EventContent(String, Nullable<DateTime>, String, Target, Request, Actor, Source)

Initializes a new instance of the EventContent class.

public EventContent (string id = default, DateTime? timestamp = default, string action = default, Microsoft.Azure.Management.ContainerRegistry.Models.Target target = default, Microsoft.Azure.Management.ContainerRegistry.Models.Request request = default, Microsoft.Azure.Management.ContainerRegistry.Models.Actor actor = default, Microsoft.Azure.Management.ContainerRegistry.Models.Source source = default);
new Microsoft.Azure.Management.ContainerRegistry.Models.EventContent : string * Nullable<DateTime> * string * Microsoft.Azure.Management.ContainerRegistry.Models.Target * Microsoft.Azure.Management.ContainerRegistry.Models.Request * Microsoft.Azure.Management.ContainerRegistry.Models.Actor * Microsoft.Azure.Management.ContainerRegistry.Models.Source -> Microsoft.Azure.Management.ContainerRegistry.Models.EventContent
Public Sub New (Optional id As String = Nothing, Optional timestamp As Nullable(Of DateTime) = Nothing, Optional action As String = Nothing, Optional target As Target = Nothing, Optional request As Request = Nothing, Optional actor As Actor = Nothing, Optional source As Source = Nothing)

Parameters

id
String

The event ID.

timestamp
Nullable<DateTime>

The time at which the event occurred.

action
String

The action that encompasses the provided event.

target
Target

The target of the event.

request
Request

The request that generated the event.

actor
Actor

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

source
Source

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

Applies to