共用方式為


ContainerRegistrySourceTrigger Class

Definition

The properties of a source based trigger.

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

Constructors

ContainerRegistrySourceTrigger(SourceCodeRepoProperties, IEnumerable<ContainerRegistrySourceTriggerEvent>, String)

Initializes a new instance of ContainerRegistrySourceTrigger.

Properties

Name

The name of the trigger.

SourceRepository

The properties that describes the source(code) for the task.

SourceTriggerEvents

The source event corresponding to the trigger.

Status

The current status of trigger.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ContainerRegistrySourceTrigger>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerRegistrySourceTrigger>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerRegistrySourceTrigger>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerRegistrySourceTrigger>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerRegistrySourceTrigger>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to