Compartilhar via


FactoriesOperationsExtensions.GetGitHubAccessTokenAsync Método

Definição

Obter o Token de Acesso do GitHub.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.DataFactory.Models.GitHubAccessTokenResponse> GetGitHubAccessTokenAsync (this Microsoft.Azure.Management.DataFactory.IFactoriesOperations operations, string resourceGroupName, string factoryName, Microsoft.Azure.Management.DataFactory.Models.GitHubAccessTokenRequest gitHubAccessTokenRequest, System.Threading.CancellationToken cancellationToken = default);
static member GetGitHubAccessTokenAsync : Microsoft.Azure.Management.DataFactory.IFactoriesOperations * string * string * Microsoft.Azure.Management.DataFactory.Models.GitHubAccessTokenRequest * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.DataFactory.Models.GitHubAccessTokenResponse>
<Extension()>
Public Function GetGitHubAccessTokenAsync (operations As IFactoriesOperations, resourceGroupName As String, factoryName As String, gitHubAccessTokenRequest As GitHubAccessTokenRequest, Optional cancellationToken As CancellationToken = Nothing) As Task(Of GitHubAccessTokenResponse)

Parâmetros

operations
IFactoriesOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

O nome do grupo de recursos.

factoryName
String

O nome da fábrica.

gitHubAccessTokenRequest
GitHubAccessTokenRequest

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

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a