EventGridModelFactory.ContainerRegistryArtifactEventData 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 ContainerRegistryArtifactEventData.
public static Azure.Messaging.EventGrid.SystemEvents.ContainerRegistryArtifactEventData ContainerRegistryArtifactEventData (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 ContainerRegistryArtifactEventData : string * Nullable<DateTimeOffset> * string * string * Azure.Messaging.EventGrid.SystemEvents.ContainerRegistryArtifactEventTarget * Azure.Messaging.EventGrid.SystemEvents.ContainerRegistryEventConnectedRegistry -> Azure.Messaging.EventGrid.SystemEvents.ContainerRegistryArtifactEventData
Public Shared Function ContainerRegistryArtifactEventData (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 ContainerRegistryArtifactEventData
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.
The target of the event.
- connectedRegistry
- ContainerRegistryEventConnectedRegistry
The connected registry information if the event is generated by a connected registry.
Returns
A new ContainerRegistryArtifactEventData instance for mocking.
Applies to
Azure SDK for .NET