ArmContainerRegistryModelFactory.ContainerRegistryWebhookEventContent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- timestamp
- Nullable<DateTimeOffset>
The time at which the event occurred.
- action
- String
The action that encompasses the provided event.
The target of the event.
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.
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
Azure SDK for .NET