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

IRepositoryBranchAndAuth 接口

定义

容器注册表源触发器定义的阶段,允许指定存储库的分支和身份验证凭据(如果需要与源代码管理存储库交互)。

public interface IRepositoryBranchAndAuth
type IRepositoryBranchAndAuth = interface
Public Interface IRepositoryBranchAndAuth
派生

方法

WithRepositoryAuthentication(TokenType, String)

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

WithRepositoryAuthentication(TokenType, String, String, String, Int32)

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

WithRepositoryBranch(String)

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

适用于