你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Target Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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) | |
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) | |
ToJsonString() |
Serializes this instance to a json string. |
ToString() |