Share via


ContainerRegistrySourceTriggerDescriptor Class

Definition

The source trigger that caused a run.

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

Constructors

ContainerRegistrySourceTriggerDescriptor()

Initializes a new instance of ContainerRegistrySourceTriggerDescriptor.

Properties

BranchName

The branch name in the repository.

CommitId

The unique ID that identifies a commit.

EventType

The event type of the trigger.

Id

The unique ID of the trigger.

ProviderType

The source control provider type.

PullRequestId

The unique ID that identifies pull request.

RepositoryUri

The repository URL.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ContainerRegistrySourceTriggerDescriptor>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ContainerRegistrySourceTriggerDescriptor>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ContainerRegistrySourceTriggerDescriptor>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ContainerRegistrySourceTriggerDescriptor>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ContainerRegistrySourceTriggerDescriptor>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to