Share via


ContainerRegistryWebhookCallbackConfig Class

Definition

The configuration of service URI and custom headers for the webhook.

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

Properties

CustomHeaders

Custom headers that will be added to the webhook notifications.

ServiceUri

The service URI for the webhook to post notifications.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ContainerRegistryWebhookCallbackConfig>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerRegistryWebhookCallbackConfig>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerRegistryWebhookCallbackConfig>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerRegistryWebhookCallbackConfig>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerRegistryWebhookCallbackConfig>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to