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

IWithGitHubAccessToken<ParentT>.WithGitHubAccessToken(String) 方法

定义

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

public Microsoft.Azure.Management.AppService.Fluent.WebAppSourceControl.Definition.IGitHubWithAttach<ParentT> WithGitHubAccessToken (string personalAccessToken);
abstract member WithGitHubAccessToken : string -> Microsoft.Azure.Management.AppService.Fluent.WebAppSourceControl.Definition.IGitHubWithAttach<'ParentT>
Public Function WithGitHubAccessToken (personalAccessToken As String) As IGitHubWithAttach(Of ParentT)

参数

personalAccessToken
String

GitHub 中的个人访问令牌。

返回

适用于