Share via


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ISourceTriggerAttachable 接口

定义

定义的阶段,它包含要附加的资源所需的所有最小输入,但也允许指定任何其他可选设置。

public interface ISourceTriggerAttachable : Microsoft.Azure.Management.ContainerRegistry.Fluent.RegistrySourceTrigger.UpdateDefinition.IRepositoryBranchAndAuth, Microsoft.Azure.Management.ContainerRegistry.Fluent.RegistrySourceTrigger.UpdateDefinition.ITriggerEventsDefinition, Microsoft.Azure.Management.ContainerRegistry.Fluent.RegistrySourceTrigger.UpdateDefinition.ITriggerStatusDefinition, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ChildResource.Update.IInUpdate<Microsoft.Azure.Management.ContainerRegistry.Fluent.RegistryTask.Update.IUpdate>
type ISourceTriggerAttachable = interface
    interface IRepositoryBranchAndAuth
    interface ITriggerEventsDefinition
    interface ITriggerStatusDefinition
    interface IInUpdate<IUpdate>
Public Interface ISourceTriggerAttachable
Implements IInUpdate(Of IUpdate), IRepositoryBranchAndAuth, ITriggerEventsDefinition, ITriggerStatusDefinition
派生
实现

方法

Attach()

定义的阶段,它包含要附加的资源所需的所有最小输入,但也允许指定任何其他可选设置。

(继承自 IInUpdate<ParentT>)
WithCommitTriggerEvent()

指定提交操作的函数将触发运行。

(继承自 ITriggerEventsDefinition)
WithPullTriggerEvent()

指定拉取操作的函数将触发运行。

(继承自 ITriggerEventsDefinition)
WithRepositoryAuthentication(TokenType, String)

允许用户输入用于身份验证的令牌类型以及用于向源代码管理存储库进行身份验证的令牌本身的函数。

(继承自 IRepositoryBranchAndAuth)
WithRepositoryAuthentication(TokenType, String, String, String, Int32)

允许用户输入用于身份验证的令牌类型以及用于向源代码管理存储库进行身份验证的令牌本身的函数。

(继承自 IRepositoryBranchAndAuth)
WithRepositoryBranch(String)

指定要使用的存储库的分支的函数。

(继承自 IRepositoryBranchAndAuth)
WithTriggerEvent(SourceTriggerEvent)

允许用户指定操作的函数,该操作将在执行时触发运行。

(继承自 ITriggerEventsDefinition)
WithTriggerStatus(TriggerStatus)

允许用户输入触发器状态的函数。

(继承自 ITriggerStatusDefinition)
WithTriggerStatusDisabled()

设置要禁用的触发器状态的函数。

(继承自 ITriggerStatusDefinition)
WithTriggerStatusEnabled()

设置要启用的触发器状态的函数。

(继承自 ITriggerStatusDefinition)

适用于