Share via


Target Constructors

Definition

Overloads

Target()

Initializes a new instance of the Target class.

Target(String, Nullable<Int64>, String, Nullable<Int64>, String, String, String, String, String)

Initializes a new instance of the Target class.

Target()

Initializes a new instance of the Target class.

public Target ();
Public Sub New ()

Applies to

Target(String, Nullable<Int64>, String, Nullable<Int64>, String, String, String, String, String)

Initializes a new instance of the Target class.

public Target (string mediaType = default, long? size = default, string digest = default, long? length = default, string repository = default, string url = default, string tag = default, string name = default, string version = default);
new Microsoft.Azure.Management.ContainerRegistry.Models.Target : string * Nullable<int64> * string * Nullable<int64> * string * string * string * string * string -> Microsoft.Azure.Management.ContainerRegistry.Models.Target
Public Sub New (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, Optional name As String = Nothing, Optional version As String = Nothing)

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.

name
String

The name of the artifact.

version
String

The version of the artifact.

Applies to