SourceTriggerDescriptor Class

Definition

The source trigger that caused a run.

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.SourceTriggerDescriptorTypeConverter))]
public class SourceTriggerDescriptor : Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.ISourceTriggerDescriptor
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.SourceTriggerDescriptorTypeConverter))>]
type SourceTriggerDescriptor = class
    interface ISourceTriggerDescriptor
    interface IJsonSerializable
Public Class SourceTriggerDescriptor
Implements ISourceTriggerDescriptor
Inheritance
SourceTriggerDescriptor
Attributes
Implements

Constructors

SourceTriggerDescriptor()

Creates an new SourceTriggerDescriptor instance.

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.

RepositoryUrl

The repository URL.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SourceTriggerDescriptor.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SourceTriggerDescriptor.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.ContainerRegistry.Models.Api20190601Preview.ISourceTriggerDescriptor.

FromJsonString(String)

Creates a new instance of SourceTriggerDescriptor, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of SourceTriggerDescriptor into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to