ArmContainerRegistryModelFactory.ContainerRegistrySourceTriggerUpdateContent Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
The current status of trigger.
- name
- String
The name of the trigger.
Returns
A new ContainerRegistrySourceTriggerUpdateContent instance for mocking.
Applies to
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Azure SDK for .NET