Megosztás a következőn keresztül:


EventGridModelFactory.ContainerRegistryArtifactEventTarget Method

Definition

Initializes a new instance of ContainerRegistryArtifactEventTarget.

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

Parameters

mediaType
String

The MIME type of the artifact.

size
Nullable<Int64>

The size in bytes of the artifact.

digest
String

The digest of the artifact.

repository
String

The repository name of the artifact.

tag
String

The tag of the artifact.

name
String

The name of the artifact.

version
String

The version of the artifact.

Returns

A new ContainerRegistryArtifactEventTarget instance for mocking.

Applies to