ArmContainerRegistryModelFactory.ContainerRegistrySourceTriggerUpdateContent Method

Definition

Initializes a new instance of ContainerRegistrySourceTriggerUpdateContent.

public static Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistrySourceTriggerUpdateContent ContainerRegistrySourceTriggerUpdateContent (Azure.ResourceManager.ContainerRegistry.Models.SourceCodeRepoUpdateContent sourceRepository = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistrySourceTriggerEvent> sourceTriggerEvents = default, Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryTriggerStatus? status = default, string name = default);
static member ContainerRegistrySourceTriggerUpdateContent : Azure.ResourceManager.ContainerRegistry.Models.SourceCodeRepoUpdateContent * seq<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistrySourceTriggerEvent> * Nullable<Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistryTriggerStatus> * string -> Azure.ResourceManager.ContainerRegistry.Models.ContainerRegistrySourceTriggerUpdateContent
Public Shared Function ContainerRegistrySourceTriggerUpdateContent (Optional sourceRepository As SourceCodeRepoUpdateContent = Nothing, Optional sourceTriggerEvents As IEnumerable(Of ContainerRegistrySourceTriggerEvent) = Nothing, Optional status As Nullable(Of ContainerRegistryTriggerStatus) = Nothing, Optional name As String = Nothing) As ContainerRegistrySourceTriggerUpdateContent

Parameters

sourceRepository
SourceCodeRepoUpdateContent

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

sourceTriggerEvents
IEnumerable<ContainerRegistrySourceTriggerEvent>

The source event corresponding to the trigger.

status
Nullable<ContainerRegistryTriggerStatus>

The current status of trigger.

name
String

The name of the trigger.

Returns

A new ContainerRegistrySourceTriggerUpdateContent instance for mocking.

Applies to