Partager via


FactoriesOperationsExtensions.GetGitHubAccessTokenAsync Méthode

Définition

Obtenir le jeton d’accès 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)

Paramètres

operations
IFactoriesOperations

Groupe d’opérations pour cette méthode d’extension.

resourceGroupName
String

Nom du groupe de ressources.

factoryName
String

Nom de la fabrique.

gitHubAccessTokenRequest
GitHubAccessTokenRequest

Obtenir la définition de demande de jeton d’accès GitHub.

cancellationToken
CancellationToken

Jeton d'annulation.

Retours

S’applique à