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

IUpdateDefinition 接口

定义

用于在任务更新期间定义新触发器的容器接口。

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

方法

Attach()

用于在任务更新期间定义新触发器的容器接口。

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

用于在任务更新期间定义新触发器的容器接口。

(继承自 ISettable<ParentT>)
WithAzureDevOpsAsSourceControl()

指定 Azure DevOps 的函数将用作源代码管理的类型。

(继承自 IBlank)
WithCommitTriggerEvent()

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

(继承自 ITriggerEventsDefinition)
WithGithubAsSourceControl()

指定 Github 的函数将用作源代码管理的类型。

(继承自 IBlank)
WithPullTriggerEvent()

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

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

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

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

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

(继承自 IRepositoryBranchAndAuth)
WithRepositoryBranch(String)

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

(继承自 IRepositoryBranchAndAuth)
WithSourceControl(SourceControlType)

允许用户输入其自己的源代码管理类型的函数。

(继承自 IBlank)
WithSourceControlRepositoryUrl(String)

指定源代码管理存储库 URL 的函数。

(继承自 IRepositoryUrl)
WithTriggerEvent(SourceTriggerEvent)

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

(继承自 ITriggerEventsDefinition)
WithTriggerStatus(TriggerStatus)

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

(继承自 ITriggerStatusDefinition)
WithTriggerStatusDisabled()

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

(继承自 ITriggerStatusDefinition)
WithTriggerStatusEnabled()

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

(继承自 ITriggerStatusDefinition)

适用于