共用方式為


ContainerRegistryWebhookEventRequestContent Class

Definition

The request that generated the event.

public class ContainerRegistryWebhookEventRequestContent : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWebhookEventRequestContent>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryWebhookEventRequestContent>
type ContainerRegistryWebhookEventRequestContent = class
    interface IJsonModel<ContainerRegistryWebhookEventRequestContent>
    interface IPersistableModel<ContainerRegistryWebhookEventRequestContent>
Public Class ContainerRegistryWebhookEventRequestContent
Implements IJsonModel(Of ContainerRegistryWebhookEventRequestContent), IPersistableModel(Of ContainerRegistryWebhookEventRequestContent)
Inheritance
ContainerRegistryWebhookEventRequestContent
Implements

Properties

Addr

The IP or hostname and possibly port of the client connection that initiated the event. This is the RemoteAddr from the standard http request.

Host

The externally accessible hostname of the registry instance, as specified by the http host header on incoming requests.

Id

The ID of the request that initiated the event.

Method

The request method that generated the event.

UserAgent

The user agent header of the request.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ContainerRegistryWebhookEventRequestContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<ContainerRegistryWebhookEventRequestContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerRegistryWebhookEventRequestContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerRegistryWebhookEventRequestContent>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<ContainerRegistryWebhookEventRequestContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to