ArmContainerRegistryModelFactory.ContainerRegistryWebhookEventTarget Method

Definition

Initializes a new instance of ContainerRegistryWebhookEventTarget.

public static Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWebhookEventTarget ContainerRegistryWebhookEventTarget (string mediaType = default, long? size = default, string digest = default, long? length = default, string repository = default, Uri uri = default, string tag = default, string name = default, string version = default);
static member ContainerRegistryWebhookEventTarget : string * Nullable<int64> * string * Nullable<int64> * string * Uri * string * string * string -> Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWebhookEventTarget
Public Shared Function ContainerRegistryWebhookEventTarget (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 uri As Uri = Nothing, Optional tag As String = Nothing, Optional name As String = Nothing, Optional version As String = Nothing) As ContainerRegistryWebhookEventTarget

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.

uri
Uri

The direct URL to the content.

tag
String

The tag name.

name
String

The name of the artifact.

version
String

The version of the artifact.

Returns

A new ContainerRegistryWebhookEventTarget instance for mocking.

Applies to