Share via


EventGridModelFactory.ContainerRegistryEventTarget Method

Definition

Initializes a new instance of ContainerRegistryEventTarget.

public static Azure.Messaging.EventGrid.SystemEvents.ContainerRegistryEventTarget ContainerRegistryEventTarget (string mediaType = default, long? size = default, string digest = default, long? length = default, string repository = default, string url = default, string tag = default);
static member ContainerRegistryEventTarget : string * Nullable<int64> * string * Nullable<int64> * string * string * string -> Azure.Messaging.EventGrid.SystemEvents.ContainerRegistryEventTarget
Public Shared Function ContainerRegistryEventTarget (Optional mediaType As String = Nothing, Optional size As Nullable(Of Long) = Nothing, Optional digest As String = Nothing, Optional length As Nullable(Of Long) = Nothing, Optional repository As String = Nothing, Optional url As String = Nothing, Optional tag As String = Nothing) As ContainerRegistryEventTarget

Parameters

mediaType
String

The MIME type of the referenced object.

size
Nullable<Int64>

The number of bytes of the content. Same as Length field.

digest
String

The digest of the content, as defined by the Registry V2 HTTP API Specification.

length
Nullable<Int64>

The number of bytes of the content. Same as Size field.

repository
String

The repository name.

url
String

The direct URL to the content.

tag
String

The tag name.

Returns

A new ContainerRegistryEventTarget instance for mocking.

Applies to