共用方式為


ContainerRegistryWebhookCreateOrUpdateContent Class

Definition

The parameters for creating a webhook.

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

Constructors

ContainerRegistryWebhookCreateOrUpdateContent(AzureLocation)

Initializes a new instance of ContainerRegistryWebhookCreateOrUpdateContent.

Properties

Actions

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

CustomHeaders

Custom headers that will be added to the webhook notifications.

Location

The location of the webhook. This cannot be changed after the resource is created.

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<ContainerRegistryWebhookCreateOrUpdateContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerRegistryWebhookCreateOrUpdateContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerRegistryWebhookCreateOrUpdateContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerRegistryWebhookCreateOrUpdateContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerRegistryWebhookCreateOrUpdateContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to