你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
IEventContent Interface
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.
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.EventContentTypeConverter))]
public interface IEventContent : Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api202301Preview.EventContentTypeConverter))>]
type IEventContent = interface
interface IJsonSerializable
Public Interface IEventContent
Implements IJsonSerializable
- Derived
- Attributes
- Implements
Properties
Action |
The action that encompasses the provided event. |
ActorName |
The subject or username associated with the request context that generated the event. |
Id |
The event ID. |
RequestAddr |
The IP or hostname and possibly port of the client connection that initiated the event. This is the RemoteAddr from the standard http request. |
RequestHost |
The externally accessible hostname of the registry instance, as specified by the http host header on incoming requests. |
RequestId |
The ID of the request that initiated the event. |
RequestMethod |
The request method that generated the event. |
RequestUseragent |
The user agent header of the request. |
SourceAddr |
The IP or hostname and the port of the registry node that generated the event. Generally, this will be resolved by os.Hostname() along with the running port. |
SourceInstanceId |
The running instance of an application. Changes after each restart. |
TargetDigest |
The digest of the content, as defined by the Registry V2 HTTP API Specification. |
TargetLength |
The number of bytes of the content. Same as Size field. |
TargetMediaType |
The MIME type of the referenced object. |
TargetName |
The name of the artifact. |
TargetRepository |
The repository name. |
TargetSize |
The number of bytes of the content. Same as Length field. |
TargetTag |
The tag name. |
TargetUrl |
The direct URL to the content. |
TargetVersion |
The version of the artifact. |
Timestamp |
The time at which the event occurred. |
Methods
ToJson(JsonObject, SerializationMode) | (Inherited from IJsonSerializable) |