Partilhar via


DataFactoryResource.GetGitHubAccessTokenAsync Método

Definição

Obter o Token de Acesso do GitHub.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataFactory/factories/{factoryName}/getGitHubAccessToken
  • Operação IdFactories_GetGitHubAccessToken
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataFactory.Models.GitHubAccessTokenResult>> GetGitHubAccessTokenAsync (Azure.ResourceManager.DataFactory.Models.GitHubAccessTokenContent content, System.Threading.CancellationToken cancellationToken = default);
abstract member GetGitHubAccessTokenAsync : Azure.ResourceManager.DataFactory.Models.GitHubAccessTokenContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataFactory.Models.GitHubAccessTokenResult>>
override this.GetGitHubAccessTokenAsync : Azure.ResourceManager.DataFactory.Models.GitHubAccessTokenContent * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.DataFactory.Models.GitHubAccessTokenResult>>
Public Overridable Function GetGitHubAccessTokenAsync (content As GitHubAccessTokenContent, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of GitHubAccessTokenResult))

Parâmetros

content
GitHubAccessTokenContent

Obter a definição de solicitação de token de acesso do GitHub.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

content é nulo.

Aplica-se a