Share via


ContainerRegistryWebhookData Class

Definition

A class representing the ContainerRegistryWebhook data model. An object that represents a webhook for a container registry.

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

Constructors

ContainerRegistryWebhookData(AzureLocation)

Initializes a new instance of ContainerRegistryWebhookData.

Properties

Actions

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

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Location

The geo-location where the resource lives.

(Inherited from TrackedResourceData)
Name

The name of the resource.

(Inherited from ResourceData)
ProvisioningState

The provisioning state of the webhook at the time the operation was called.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
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.

Status

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

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
Tags

Resource tags.

(Inherited from TrackedResourceData)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from TrackedResourceData)

Explicit Interface Implementations

IJsonModel<ContainerRegistryWebhookData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerRegistryWebhookData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerRegistryWebhookData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerRegistryWebhookData>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerRegistryWebhookData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to