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

IUpdateDefinition<ParentT> 接口

定义

作为 Web 应用更新的一部分的整个 Web 应用源代码管理定义。

public interface IUpdateDefinition<ParentT> : Microsoft.Azure.Management.AppService.Fluent.WebAppSourceControl.UpdateDefinition.IBlank<ParentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppSourceControl.UpdateDefinition.IGitHubWithAttach<ParentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppSourceControl.UpdateDefinition.IWithAttach<ParentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppSourceControl.UpdateDefinition.IWithBranch<ParentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppSourceControl.UpdateDefinition.IWithGitHubAccessToken<ParentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppSourceControl.UpdateDefinition.IWithGitHubBranch<ParentT>, Microsoft.Azure.Management.AppService.Fluent.WebAppSourceControl.UpdateDefinition.IWithRepositoryType<ParentT>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ChildResource.Update.IInUpdate<ParentT>
type IUpdateDefinition<'ParentT> = interface
    interface IBlank<'ParentT>
    interface IWithRepositoryType<'ParentT>
    interface IWithAttach<'ParentT>
    interface IInUpdate<'ParentT>
    interface IGitHubWithAttach<'ParentT>
    interface IWithGitHubAccessToken<'ParentT>
    interface IWithBranch<'ParentT>
    interface IWithGitHubBranch<'ParentT>
Public Interface IUpdateDefinition(Of ParentT)
Implements IBlank(Of ParentT), IGitHubWithAttach(Of ParentT), IInUpdate(Of ParentT), IWithAttach(Of ParentT), IWithBranch(Of ParentT), IWithGitHubAccessToken(Of ParentT), IWithGitHubBranch(Of ParentT), IWithRepositoryType(Of ParentT)

类型参数

ParentT

最终 UpdateDefinitionStages.WithAttach.attach () 的返回类型。

实现

方法

Attach()

作为 Web 应用更新的一部分的整个 Web 应用源代码管理定义。

(继承自 IInUpdate<ParentT>)
WithBranch(String)

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

(继承自 IWithGitHubBranch<ParentT>)
WithContinuouslyIntegratedGitHubRepository(String)

将存储库指定为 GitHub 存储库。 将打开持续集成。 此存储库可以是公共的,也可以是专用的,但 GitHub 访问令牌必须具有足够的权限才能将 Webhook 添加到存储库。

(继承自 IWithRepositoryType<ParentT>)
WithContinuouslyIntegratedGitHubRepository(String, String)

将存储库指定为 GitHub 存储库。 将打开持续集成。 此存储库可以是公共的,也可以是专用的,但 GitHub 访问令牌必须具有足够的权限才能将 Webhook 添加到存储库。

(继承自 IWithRepositoryType<ParentT>)
WithGitHubAccessToken(String)

指定 GitHub 个人访问令牌。 可以从 获取一个 https://github.com/settings/tokens

(继承自 IWithGitHubAccessToken<ParentT>)
WithPublicGitRepository(String)

将存储库指定为公共外部存储库(Git 或 Mercurial)。 不会打开持续集成。

(继承自 IWithRepositoryType<ParentT>)
WithPublicMercurialRepository(String)

将存储库指定为公共外部存储库(Git 或 Mercurial)。 不会打开持续集成。

(继承自 IWithRepositoryType<ParentT>)

适用于