Share via


SourceTriggerUpdateParameters Class

Definition

The properties for updating a source based trigger.

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

Constructors

SourceTriggerUpdateParameters()

Creates an new SourceTriggerUpdateParameters instance.

Properties

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

SourceTriggerEvent

The source event corresponding to the trigger.

Status

The current status of trigger.

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of SourceTriggerUpdateParameters.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of SourceTriggerUpdateParameters.

FromJson(JsonNode)

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

FromJsonString(String)

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

ToJson(JsonObject, SerializationMode)

Serializes this instance of SourceTriggerUpdateParameters into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to