Compartir a través de


Target Class

Definition

The target of the event.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.TargetTypeConverter))]
public class Target : Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.ITarget
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.TargetTypeConverter))>]
type Target = class
    interface ITarget
    interface IJsonSerializable
Public Class Target
Implements ITarget
Inheritance
Target
Attributes
Implements

Constructors

Target()

Creates an new Target instance.

Properties

Digest

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

Length

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

MediaType

The MIME type of the referenced object.

Name

The name of the artifact.

Repository

The repository name.

Size

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

Tag

The tag name.

Url

The direct URL to the content.

Version

The version of the artifact.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of Target.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of Target.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.ITarget.

FromJsonString(String)

Creates a new instance of Target, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of Target into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to