Share via


SourceTrigger Class

Definition

The properties of a source based trigger.

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

Constructors

SourceTrigger()

Creates an new SourceTrigger instance.

Properties

Event

The source event corresponding to the trigger.

Name

The name of the trigger.

SourceControlAuthPropertyExpiresIn

Time in seconds that the token remains valid

SourceControlAuthPropertyRefreshToken

The refresh token used to refresh the access token.

SourceControlAuthPropertyScope

The scope of the access token.

SourceControlAuthPropertyToken

The access token used to access the source control provider.

SourceControlAuthPropertyTokenType

The type of Auth token.

SourceRepositoryBranch

The branch name of the source code.

SourceRepositorySourceControlType

The type of source control service.

SourceRepositoryUrl

The full URL to the source code repository

Status

The current status of trigger.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SourceTrigger.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SourceTrigger.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of SourceTrigger into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to