다음을 통해 공유


ArmContainerRegistryModelFactory.ContainerRegistryWebhookEventContent Method

Definition

Initializes a new instance of ContainerRegistryWebhookEventContent.

public static Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWebhookEventContent ContainerRegistryWebhookEventContent (Guid? id = default, DateTimeOffset? timestamp = default, string action = default, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWebhookEventTarget target = default, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWebhookEventRequestContent request = default, string actorName = default, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWebhookEventSource source = default);
static member ContainerRegistryWebhookEventContent : Nullable<Guid> * Nullable<DateTimeOffset> * string * Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWebhookEventTarget * Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWebhookEventRequestContent * string * Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWebhookEventSource -> Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWebhookEventContent
Public Shared Function ContainerRegistryWebhookEventContent (Optional id As Nullable(Of Guid) = Nothing, Optional timestamp As Nullable(Of DateTimeOffset) = Nothing, Optional action As String = Nothing, Optional target As ContainerRegistryWebhookEventTarget = Nothing, Optional request As ContainerRegistryWebhookEventRequestContent = Nothing, Optional actorName As String = Nothing, Optional source As ContainerRegistryWebhookEventSource = Nothing) As ContainerRegistryWebhookEventContent

Parameters

id
Nullable<Guid>

The event ID.

timestamp
Nullable<DateTimeOffset>

The time at which the event occurred.

action
String

The action that encompasses the provided event.

target
ContainerRegistryWebhookEventTarget

The target of the event.

request
ContainerRegistryWebhookEventRequestContent

The request that generated the event.

actorName
String

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

source
ContainerRegistryWebhookEventSource

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

Returns

A new ContainerRegistryWebhookEventContent instance for mocking.

Applies to