Share via


ContainerRegistryWebhookEventSource Class

Definition

The registry node that generated the event. Put differently, while the actor initiates the event, the source generates it.

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

Properties

Addr

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.

InstanceId

The running instance of an application. Changes after each restart.

Explicit Interface Implementations

IJsonModel<ContainerRegistryWebhookEventSource>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerRegistryWebhookEventSource>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerRegistryWebhookEventSource>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerRegistryWebhookEventSource>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerRegistryWebhookEventSource>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to