Megosztás a következőn keresztül:


ContainerRegistryWebhookPatch Class

Definition

The parameters for updating a webhook.

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

Constructors

ContainerRegistryWebhookPatch()

Initializes a new instance of ContainerRegistryWebhookPatch.

Properties

Actions

The list of actions that trigger the webhook to post notifications.

CustomHeaders

Custom headers that will be added to the webhook notifications.

Scope

The scope of repositories where the event can be triggered. For example, 'foo:*' means events for all tags under repository 'foo'. 'foo:bar' means events for 'foo:bar' only. 'foo' is equivalent to 'foo:latest'. Empty means all events.

ServiceUri

The service URI for the webhook to post notifications.

Status

The status of the webhook at the time the operation was called.

Tags

The tags for the webhook.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ContainerRegistryWebhookPatch>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerRegistryWebhookPatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerRegistryWebhookPatch>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerRegistryWebhookPatch>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerRegistryWebhookPatch>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to